From af67ac6931f52d7964082df331baf435f4d9607a Mon Sep 17 00:00:00 2001 From: Joe Fiorini Date: Thu, 30 Apr 2015 12:43:01 -0400 Subject: [PATCH] Fix setting socketStatus on disconnect --- awx/ui/static/js/shared/Socket.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/ui/static/js/shared/Socket.js b/awx/ui/static/js/shared/Socket.js index 1b54d626e6..083d1badca 100644 --- a/awx/ui/static/js/shared/Socket.js +++ b/awx/ui/static/js/shared/Socket.js @@ -118,7 +118,7 @@ angular.module('SocketIO', ['AuthService', 'Utilities']) self.socket.on('diconnect', function() { $log.debug('Socket disconnected'); self.scope.$apply(function() { - self.socketStatus = 'error'; + self.scope.socketStatus = 'error'; self.scope.socketTip = getSocketTip(self.scope.socketStatus); }); });