Don't show warning when main window is lost

This commit is contained in:
nathan 2022-10-18 13:45:06 -06:00
parent 19bae0054a
commit 323e45caf7

View File

@ -482,8 +482,6 @@ 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 ()
{
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);