Is just stumbled over that feature request: Confirmation when quiting an edited manager page without saving. Seems the checkDirt() function isn’t working anymore...The problem is that the checkDirt() function uses IE-specific code. It can be made to work in FF by using the following instead of checkDirt():
Edit: Can confirm that on Mozilla/5.0 (X11; U; Linux i686; de; rv:1.8.0.7) Gecko/20060921 Ubuntu/dapper-security Firefox/1.5.0.7
window.onbeforeunload = function (evt) {
if (documentDirty==true) {
var message = "<?php echo $_lang['warning_not_saved']; ?>";
if (typeof evt == 'undefined') {
evt = window.event;
}
if (evt) {
evt.returnValue = message;
}
return message;
}
}
This discussion is closed to further replies. Keep calm and carry on.