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.

cheers
Richard
-- 
View this message in context: 
http://www.nabble.com/Is-OSM-Mapper-ready-for-0.6--%28was-Re%3A-Disable-Potlatch-finally%29-tp21045981p21054530.html
Sent from the OpenStreetMap - General mailing list archive at Nabble.com.


_______________________________________________
talk mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/talk

Reply via email to