fix TypeError this.openWebSocket() is not a function

This commit is contained in:
Ralf Becker 2020-10-14 22:27:54 +02:00
parent 006bfefbe1
commit 663816769e

View File

@ -119,7 +119,7 @@ egw.extend('json', egw.MODULE_WND_LOCAL, function(_app, _wnd)
console.log("Server did not respond to ping in "+max_ping_response_time+" seconds --> try reconnecting");
check_timer = null;
this.openWebSocket(url, tokens, account_id, error, reconnect_time);
}, max_ping_response_time);
}.bind(this), max_ping_response_time);
}.bind(this);
this.websocket = new WebSocket(url);