Fix syntax. Emit relaydisconnect so connect button changes

This commit is contained in:
Tor Hveem 2014-05-07 19:15:47 +02:00
parent fbfeec8fca
commit 91b0ddc259

View file

@ -390,6 +390,7 @@ function($rootScope,
$rootScope.lastError = Date.now(); $rootScope.lastError = Date.now();
$rootScope.errorMessage = true; $rootScope.errorMessage = true;
$rootScope.securityError = true; $rootScope.securityError = true;
$rootScope.$emit('relayDisconnect');
} }
}; };