fixed: popup blocked warning wouldn't disappear
parent
4c484f27f5
commit
63ea2691f2
Binary file not shown.
|
@ -1277,7 +1277,10 @@ function openNewWindow(newURL,target='_self') {
|
|||
saveState();
|
||||
var popUp = window.open(newURL,target);
|
||||
if ( !popUp || popUp.closed || typeof popUp == "undefined" ) {
|
||||
addBannerWarning("<?tr("Popup Blocked. CA requires popups to be enabled under certain circumstances. You must white list your server within your browser to allow popups")?>",true,true);
|
||||
var popupWarning = addBannerWarning("<?=_('Popup Blocked.');?>");
|
||||
setTimeout(function() {
|
||||
removeBannerWarning(popupWarning);}
|
||||
,10000);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
491616daffc25b5a391a807f9f7ce831 ./Apps.page
|
||||
4763bee372a2a64363268c2dc031cbea ./Apps.page
|
||||
2defe45163697e40c813a57ae9a50231 ./CA_notices.page
|
||||
c12622d8281346d37398e96cbb6b8b69 ./ca_settings.page
|
||||
01ed7990078dee7cecfeda9a4e49377e ./default.cfg
|
||||
|
|
Loading…
Reference in New Issue