setTimeout( function() {
uEditBuild(); uEditShowPage('uedit_userid'); }, 20 );
setTimeout( function() {
uEditBuild(); uEditShowPage('uedit_userid'); }, 20 );
-
- /*
- window.onunload = function() {
- if( ! confirm($('ue_unsaved_changes').innerHTML) )
- location.href = location.href;
- }
- */
-
-
}
function uEditSetUnload() {
}
function uEditSetUnload() {
+ _debug('setting window unload event');
window.onbeforeunload = function(evt) {
//evt.returnValue = ('ue_unsaved_changes').innerHTML;
return $('ue_unsaved_changes').innerHTML;
window.onbeforeunload = function(evt) {
//evt.returnValue = ('ue_unsaved_changes').innerHTML;
return $('ue_unsaved_changes').innerHTML;
}
function uEditClearUnload() {
}
function uEditClearUnload() {
+ _debug('clearing window unload event');
window.onbeforeunload = null;
}
window.onbeforeunload = null;
}