mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Don't show warning when main window is lost
This commit is contained in:
parent
19bae0054a
commit
323e45caf7
@ -482,9 +482,7 @@ window.et2_call = function(_func)
|
|||||||
*/
|
*/
|
||||||
window.egw_rejoin = function ()
|
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", () =>
|
opener.addEventListener("load", () =>
|
||||||
{
|
{
|
||||||
@ -493,7 +491,6 @@ window.egw_rejoin = function ()
|
|||||||
window.setTimeout(() =>
|
window.setTimeout(() =>
|
||||||
{
|
{
|
||||||
opener.console.log("Re-set framework");
|
opener.console.log("Re-set framework");
|
||||||
warning.close();
|
|
||||||
reconnecting.close();
|
reconnecting.close();
|
||||||
this.framework = this.opener.framework;
|
this.framework = this.opener.framework;
|
||||||
this.framework.egw_appWindow().console.log("Popup %s rejoined", this.location.href);
|
this.framework.egw_appWindow().console.log("Popup %s rejoined", this.location.href);
|
||||||
|
Loading…
Reference in New Issue
Block a user