mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 01:21:21 +03:00
Fix after socket.io upgrade
This commit is contained in:
parent
47541afca1
commit
7d5fccb85b
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user