From 323e45caf72f8acf9634d399df164011dcfe05ba Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 18 Oct 2022 13:45:06 -0600 Subject: [PATCH] Don't show warning when main window is lost --- api/js/jsapi/egw.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/api/js/jsapi/egw.js b/api/js/jsapi/egw.js index b0ed9aa6a7..aae809190b 100644 --- a/api/js/jsapi/egw.js +++ b/api/js/jsapi/egw.js @@ -482,9 +482,7 @@ window.et2_call = function(_func) */ window.egw_rejoin = function () { - let warning = egw(this).message(egw.lang("Lost connection to main window"), "warning"); - - window.setTimeout(function () + window.setTimeout(function () { opener.addEventListener("load", () => { @@ -493,7 +491,6 @@ window.egw_rejoin = function () window.setTimeout(() => { opener.console.log("Re-set framework"); - warning.close(); reconnecting.close(); this.framework = this.opener.framework; this.framework.egw_appWindow().console.log("Popup %s rejoined", this.location.href);