Renames confirm

This commit is contained in:
Gustavo Maximiliano Cortez 2016-02-25 12:07:47 -03:00
commit 6037d9bf40
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
2 changed files with 3 additions and 3 deletions

View file

@ -32,7 +32,7 @@
ng-click="confirm.accept(index.confirmTx.callback)" ng-click="confirm.accept(index.confirmTx.callback)"
class="small m10b round expand" class="small m10b round expand"
ng-style="{'background-color':index.backgroundColor}" translate> ng-style="{'background-color':index.backgroundColor}" translate>
Accept Confirm
</button> </button>
</div> </div>
</div> </div>

View file

@ -923,7 +923,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
return; return;
} else { } else {
$rootScope.$emit('Local/NeedsConfirmation', txp, function(accept) { $rootScope.$emit('Local/NeedsConfirmation', txp, function(accept) {
if (accept) self.acceptTx(txp); if (accept) self.confirmTx(txp);
else self.resetForm(); else self.resetForm();
}); });
} }
@ -932,7 +932,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
}, 100); }, 100);
}; };
this.acceptTx = function(txp) { this.confirmTx = function(txp) {
var self = this; var self = this;
txService.prepare(function(err) { txService.prepare(function(err) {
if (err) { if (err) {