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?

John

_______________________________________________
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk

Reply via email to