tmp: view.main (removed temporarily websocket/connect to clean network log and SeekDaSky websocket logs)
This commit is contained in:
parent
fe1ab69cf0
commit
21d4be378e
|
@ -48,7 +48,7 @@ gstore.data.func.nav(router, null);
|
||||||
/* (3) Set WebSocket channels
|
/* (3) Set WebSocket channels
|
||||||
---------------------------------------------------------*/
|
---------------------------------------------------------*/
|
||||||
/* (1) Connection channel */
|
/* (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 //
|
// {1} Manage error //
|
||||||
if( msg == null && err != null )
|
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 //
|
// {4} Reset notification count if already on page //
|
||||||
gstore.data.func.nav(router, null);
|
gstore.data.func.nav(router, null);
|
||||||
|
|
||||||
}).send({name: _SERVER.session.name});
|
}).send({name: _SERVER.session.name}); */
|
||||||
|
|
||||||
|
|
||||||
/* (2) Message channel */
|
/* (2) Message channel */
|
||||||
|
@ -101,5 +101,5 @@ window.wsc_chat = wsc.channel('chat').listen(function(msg, err){
|
||||||
---------------------------------------------------------*/
|
---------------------------------------------------------*/
|
||||||
window.onbeforeunload = function() {
|
window.onbeforeunload = function() {
|
||||||
wsc_chat.send('{"close": true}');
|
wsc_chat.send('{"close": true}');
|
||||||
wsc_connect.send('{"close": true}');
|
/*NO_WS_CONNECT*///wsc_connect.send('{"close": true}');
|
||||||
};
|
};
|
Loading…
Reference in New Issue