We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84160de commit f8d153bCopy full SHA for f8d153b
1 file changed
htdocs/js/comm.js
@@ -77,10 +77,6 @@ app.comm = {
77
78
Debug.trace('comm', "WebSocket connected successfully");
79
80
- if (Dialog.progress) {
81
- Dialog.hideProgress();
82
- }
83
-
84
// authenticate websocket now
85
socket.emit( 'authenticate', {} );
86
};
@@ -141,6 +137,7 @@ app.comm = {
141
137
142
138
case 'auth_failure':
143
139
// authentiation failure (should never happen)
140
+ if (Dialog.progress) Dialog.hideProgress();
144
var msg = data.description;
145
app.doError(msg);
146
app.doUserLogout(true);
@@ -155,6 +152,8 @@ app.comm = {
155
152
156
153
case 'login':
157
154
// auth successful
+
158
Debug.trace('user', "WebSocket auth successful!");
159
socket.auth = true;
160
0 commit comments