From d29459d9e519de06e6d9188d02992513f2b79a04 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Tue, 6 Apr 2021 17:09:31 +0200 Subject: [PATCH] Ignore browsing apps with their status 5 and index set to none --- api/js/framework/fw_base.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/js/framework/fw_base.js b/api/js/framework/fw_base.js index 038417cd06..a9349bdaae 100644 --- a/api/js/framework/fw_base.js +++ b/api/js/framework/fw_base.js @@ -236,8 +236,8 @@ var fw_base = (function(){ "use strict"; return Class.extend( deferred = _app.browser.browse(_url); this.setActiveApp(_app); } - // load application with status 5 as it will run in the background - else if (_status == 5) + // load application with status 5 as it will run in the background, and ignore apps with index set none + else if (_status == 5 && !_url.match(/menuaction\=none/)) { deferred = _app.browser.browse(_url); }