diff options
author | 2018-05-10 15:40:27 +0300 | |
---|---|---|
committer | 2018-05-10 15:40:34 +0300 | |
commit | 62f8b32dc5c1d046ca85232be60e37c05b660a5e (patch) | |
tree | fe5a001f51d94b5d55bb18018892489eab6e6af7 | |
parent | a55e3a75241ff1313dcb9ece8e8d153b9a253649 (diff) |
www: do not process service messages in ws client
-rw-r--r-- | juick-www/src/main/assets/scripts.js | 3 |
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); |