fix some event handlers
This commit is contained in:
parent
5d8b83823a
commit
67fd6344dd
7 changed files with 52 additions and 14 deletions
|
|
@ -46,11 +46,13 @@ angular.module('copayApp.controllers').controller('HomeController', function($sc
|
|||
} else {
|
||||
$scope.error = 'Unknown error';
|
||||
}
|
||||
$scope.done();
|
||||
}
|
||||
|
||||
if (iden) {
|
||||
iden.on('newWallet', $scope.done);
|
||||
iden.on('noWallets', $scope.done);
|
||||
iden.openWallets();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue