fix signingOut flag

This commit is contained in:
Matias Alejo Garcia 2015-01-07 23:59:53 -03:00
commit 396fbda5d9

View file

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