From 1edc14740b368b59eb29fa223519ac320bc56fbb Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 30 May 2016 15:35:58 +0200 Subject: [PATCH] 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 --- api/js/framework/fw_browser.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/api/js/framework/fw_browser.js b/api/js/framework/fw_browser.js index 6f8198a41f..f6e2b3b5f2 100644 --- a/api/js/framework/fw_browser.js +++ b/api/js/framework/fw_browser.js @@ -188,11 +188,6 @@ var fw_browser = (function(){ "use strict"; return 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(app[this.app.appName] && app[this.app.appName].destroy)