From fb6ce01e50a05695aa0febd97b0efbc7581cd6ee Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Fri, 29 Jun 2018 10:05:28 +0200 Subject: [PATCH] Do not push popup windows if we are in mobile framework --- api/js/jsapi/egw.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/js/jsapi/egw.js b/api/js/jsapi/egw.js index 99a6f3dd43..86e2256b0e 100644 --- a/api/js/jsapi/egw.js +++ b/api/js/jsapi/egw.js @@ -224,7 +224,7 @@ { // Timeout is 5 seconds, but it iks only applied(egw_utils) when something asks for the window list window.setInterval(function() { - if (window.opener && window.opener.framework && typeof window.opener.framework.popup_idx(window) == 'undefined') + if (window.opener && window.opener.framework && typeof window.opener.framework.popup_idx(window) == 'undefined' && !egwIsMobile()) { window.opener.framework.popups.push(window); }