1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-02 09:51:09 +03:00

Fix after socket.io upgrade

This commit is contained in:
Joe Fiorini 2015-02-23 14:09:29 -05:00
parent 47541afca1
commit 7d5fccb85b

View File

@ -153,10 +153,10 @@ angular.module('SocketIO', ['AuthService', 'Utilities'])
checkStatus: function() {
// Check connection status
var self = this;
if (self.socket.socket.connected) {
if (self.socket.connected) {
self.scope.socketStatus = 'ok';
}
else if (self.socket.socket.connecting || self.socket.socket.reconnecting) {
else if (self.socket.connecting || self.socket.reconnecting) {
self.scope.socketStatus = 'connecting';
}
else {