fixed: popup blocked warning wouldn't disappear

master
Squidly271 2024-11-09 09:22:18 -05:00
parent 4c484f27f5
commit 63ea2691f2
3 changed files with 5 additions and 2 deletions

View File

@ -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);
}
}

View File

@ -1,4 +1,4 @@
491616daffc25b5a391a807f9f7ce831 ./Apps.page
4763bee372a2a64363268c2dc031cbea ./Apps.page
2defe45163697e40c813a57ae9a50231 ./CA_notices.page
c12622d8281346d37398e96cbb6b8b69 ./ca_settings.page
01ed7990078dee7cecfeda9a4e49377e ./default.cfg