[OSM-talk] Is OSM Mapper ready for 0.6? (was Re: Disable Potlatch finally)

John McKerrell john at mckerrell.net
Wed Dec 17 13:48:01 GMT 2008

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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20081217/650bbbf5/attachment.html>

More information about the talk mailing list