Hold on backup page until all copayers made a full backup

This commit is contained in:
Yemel Jardi 2014-07-07 18:35:44 -03:00
commit 49ac6dfcf4
4 changed files with 48 additions and 11 deletions

View file

@ -87,10 +87,10 @@ angular.module('copayApp.controllers').controller('HeaderController',
window.onbeforeunload = undefined;
});
$scope.backupAndOpen = function() {
$scope.backup = function() {
var w = $rootScope.wallet;
w.offerBackup();
backupService.download(w);
w.setBackupReady();
};
$scope.getVideoURL = function(copayer) {