forked from extern/egroupware
use iframe for popups running in main window with GET parameter no_popup=1, as they need to set a different CSP to use eg. CKEditor like Tracker URL in notifications, if HTML is allowed
This commit is contained in:
parent
0d74f36925
commit
1edc14740b
@ -188,11 +188,6 @@ var fw_browser = (function(){ "use strict"; return Class.extend(
|
|||||||
targetUrl = "index.php?menuaction=" + matches[1];
|
targetUrl = "index.php?menuaction=" + matches[1];
|
||||||
useIframe = false;
|
useIframe = false;
|
||||||
}
|
}
|
||||||
// External link, but we'd still like to use everything without iframe
|
|
||||||
if(_url.indexOf('no_popup=1') > 0)
|
|
||||||
{
|
|
||||||
useIframe = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Destroy application js
|
// Destroy application js
|
||||||
if(app[this.app.appName] && app[this.app.appName].destroy)
|
if(app[this.app.appName] && app[this.app.appName].destroy)
|
||||||
|
Loading…
Reference in New Issue
Block a user