Do not use iframe for popups from external links

This commit is contained in:
Nathan Gray 2015-03-10 15:07:22 +00:00
parent a5ff2a71a4
commit a2cf0787b0

View File

@ -153,6 +153,11 @@ var fw_browser = 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(window.app[this.app.appName] && window.app[this.app.appName].destroy) if(window.app[this.app.appName] && window.app[this.app.appName].destroy)