tmp: view.main (removed temporarily websocket/connect to clean network log and SeekDaSky websocket logs)

This commit is contained in:
xdrm-brackets 2017-12-05 18:58:27 +01:00
parent fe1ab69cf0
commit 21d4be378e
1 changed files with 3 additions and 3 deletions

View File

@ -48,7 +48,7 @@ gstore.data.func.nav(router, null);
/* (3) Set WebSocket channels
---------------------------------------------------------*/
/* (1) Connection channel */
window.wsc_connect = wsc.channel('connect').listen(function(msg, err){
/*NO_WS_CONNECT*//*window.wsc_connect = wsc.channel('connect').listen(function(msg, err){
// {1} Manage error //
if( msg == null && err != null )
@ -68,7 +68,7 @@ window.wsc_connect = wsc.channel('connect').listen(function(msg, err){
// {4} Reset notification count if already on page //
gstore.data.func.nav(router, null);
}).send({name: _SERVER.session.name});
}).send({name: _SERVER.session.name}); */
/* (2) Message channel */
@ -101,5 +101,5 @@ window.wsc_chat = wsc.channel('chat').listen(function(msg, err){
---------------------------------------------------------*/
window.onbeforeunload = function() {
wsc_chat.send('{"close": true}');
wsc_connect.send('{"close": true}');
/*NO_WS_CONNECT*///wsc_connect.send('{"close": true}');
};