FS-5207 use the json version, thanks

This commit is contained in:
Seven Du 2014-03-01 07:40:31 +08:00
parent 55d01d3def
commit 5b73a80339
1 changed files with 2 additions and 2 deletions

View File

@ -785,8 +785,8 @@
socket.onclose = function(){ socket.onclose = function(){
$('#ws-status').html('Socket Disconnected!').css("color", "red"); $('#ws-status').html('Socket Disconnected!').css("color", "red");
console.log("socket disconnected, fallback to event_sink"); console.log("socket disconnected, fallback to event_sink");
// setInterval("App.channelsController.checkEvent()", 2000); setInterval("App.channelsController.checkEvent()", 2000);
setInterval("App.channelsController.checkXMLEvent()", 2000); //setInterval("App.channelsController.checkXMLEvent()", 2000);
} }
} catch(exception) { } catch(exception) {
alert('Error' + exception); alert('Error' + exception);