Merge pull request #4434 from cmgustavo/bug/no-wallets-02

Fix UI delete wallets
This commit is contained in:
Matias Alejo Garcia 2016-06-17 09:36:43 -03:00 committed by GitHub
commit 468c3babcf
4 changed files with 7 additions and 17 deletions

View file

@ -1646,12 +1646,6 @@ angular.module('copayApp.controllers').controller('indexController', function($r
self.isComplete = null;
self.walletName = null;
uxLanguage.update();
profileService.isDisclaimerAccepted(function(v) {
if (v) {
go.path('import');
}
});
});
});

View file

@ -5,7 +5,7 @@ angular.module('copayApp.controllers').controller('confirmationController', func
$scope.ok = function() {
$scope.loading = true;
$scope.okAction();
$scope.cancel();
$scope.confirmationModal.hide();
};
$scope.cancel = function() {

View file

@ -38,10 +38,10 @@ angular.module('copayApp.controllers').controller('preferencesDeleteWalletContro
if (err) {
$scope.error = err.message || err;
} else {
go.walletHome();
notification.success(gettextCatalog.getString('Success'), gettextCatalog.getString('The wallet "{{walletName}}" was deleted', {
walletName: walletName
}));
applicationService.restart();
}
});
};