From 62f8b32dc5c1d046ca85232be60e37c05b660a5e Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 10 May 2018 15:40:27 +0300 Subject: www: do not process service messages in ws client --- juick-www/src/main/assets/scripts.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'juick-www/src/main/assets') 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); -- cgit v1.2.3