fix missing jquery browser support

This commit is contained in:
Klaus Leithoff 2013-11-05 14:41:14 +00:00
parent 41347a0b93
commit 9fe51bc32a

View File

@ -84,8 +84,9 @@ function initAll()
}
}
}
if ($j.browser.webkit) browserSupportsOnUnloadConfirm = false; // chrome blocks alert/confirm boxes, but displays (custom) messages on demand before leaving/closing a page
if ($j.browser.opera) browserSupportsOnUnloadConfirm = false; // opera does not support unload or onbeforeunload for security reasons
// chrome blocking alert/confirm boxes, but displays (custom) messages on demand before leaving/closing a page
// opera does not support unload or onbeforeunload for security reasons
if (navigator.userAgent.match(/(Opera|WebKit)/i)) browserSupportsOnUnloadConfirm = false;
}
function checkunload(checkBrowser)