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

John McKerrell john at mckerrell.net
Wed Dec 17 15:22:08 GMT 2008

On 17 Dec 2008, at 15:01, Richard Fairhurst wrote:

> John McKerrell wrote:
> > Try using the 'beforeunload' event, think this might work in IE.
> (From memory, I haven't looked at this for a long while...)
> It's not so much the JS that's the problem, it's the AS->JS  
> communication.
> Potlatch has to tell the JS whether or not there are unsaved changes.
> Unfortunately if you use geturl("javascript:something_or_other")  
> then IE
> fires the you-clicked-on-a-link sound, and if you use fscommand it  
> plain
> doesn't work. Or at least I couldn't get it to do so.

Ah yes, you did mention that the other day. Surely it would only make  
the noise when you tried to unload the page though which wouldn't be  
so bad?


More information about the talk mailing list