Do not use iframe for popups from external links

This commit is contained in:
Nathan Gray 2015-03-09 18:18:52 +00:00
parent 5e681e3156
commit ead0a507bf

View File

@ -153,6 +153,11 @@ var fw_browser = Class.extend({
targetUrl = "index.php?menuaction=" + matches[1];
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
if(window.app[this.app.appName] && window.app[this.app.appName].destroy)