Merge pull request #2289 from matiu/bug/signingOutFlag

fix signingOut flag
This commit is contained in:
Matias Alejo Garcia 2015-01-08 00:02:03 -03:00
commit a2a4dd3e39

View file

@ -320,10 +320,11 @@ angular.module('copayApp.services')
}; };
root.signout = function() { root.signout = function() {
$rootScope.signingOut = true;
if ($rootScope.iden) { if ($rootScope.iden) {
$rootScope.signingOut = true;
$rootScope.iden.close(function() { // Will trigger 'closed'
$rootScope.signingOut = false; $rootScope.signingOut = false;
$rootScope.iden.close(); // Will trigger 'closed' }); // Will trigger 'closed'
} }
}; };