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:
parent
47541afca1
commit
7d5fccb85b
@ -153,10 +153,10 @@ angular.module('SocketIO', ['AuthService', 'Utilities'])
|
|||||||
checkStatus: function() {
|
checkStatus: function() {
|
||||||
// Check connection status
|
// Check connection status
|
||||||
var self = this;
|
var self = this;
|
||||||
if (self.socket.socket.connected) {
|
if (self.socket.connected) {
|
||||||
self.scope.socketStatus = 'ok';
|
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';
|
self.scope.socketStatus = 'connecting';
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user