aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/assets
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-05-10 15:40:27 +0300
committerGravatar Vitaly Takmazov2018-05-10 15:40:34 +0300
commit62f8b32dc5c1d046ca85232be60e37c05b660a5e (patch)
treefe5a001f51d94b5d55bb18018892489eab6e6af7 /juick-www/src/main/assets
parenta55e3a75241ff1313dcb9ece8e8d153b9a253649 (diff)
www: do not process service messages in ws client
Diffstat (limited to 'juick-www/src/main/assets')
-rw-r--r--juick-www/src/main/assets/scripts.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/juick-www/src/main/assets/scripts.js b/juick-www/src/main/assets/scripts.js
index d168911a..fdc61e5a 100644
--- a/juick-www/src/main/assets/scripts.js
+++ b/juick-www/src/main/assets/scripts.js
@@ -165,6 +165,9 @@ function initWS() {
try {
var jsonMsg = JSON.parse(msg.data);
console.log('data: ' + msg.data);
+ if (msg.data.service) {
+ return;
+ }
wsIncomingReply(jsonMsg);
} catch (err) {
console.log(err);