On 17 Dec 2008, at 12:37, Richard Fairhurst wrote:
Iván Sánchez Ortega wrote:
IIRC, you could catch the "onunload" event of the browser window
via javascript and tell potlach. Yes, I know this should go to the
-dev mailing list (and that patches are welcome, etc).
:) I posted about this the other day:
http://lists.openstreetmap.org/pipermail/talk/2008-December/032364.html
.
Potlatch already does has this Javascript, to provide an 'unsaved
changes'
warning, but it doesn't work in WinIE. And patches really are very,
very
welcome to fix that.
Try using the 'beforeunload' event, think this might work in IE.
John
_______________________________________________
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk