mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-22 21:30:54 +01:00
fix missing jquery browser support
This commit is contained in:
parent
41347a0b93
commit
9fe51bc32a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user