Fix confirm dialogs and popupService. Fix delete amount in amazon view. Fix ionic topbar

This commit is contained in:
Gustavo Maximiliano Cortez 2016-09-20 18:22:12 -03:00
commit 74c6e2e3b7
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
4 changed files with 17 additions and 11 deletions

View file

@ -28,9 +28,9 @@ angular.module('copayApp.controllers').controller('buyAmazonController',
};
this.confirm = function() {
var title = gettextCatalog.getString('Confirm Amazon.com Gift Card purchase for ${{amount}} USD', {amount: $scope.fiat});
var message = gettextCatalog.getString('Amazon.com Gift Card purchase for ${{amount}} USD', {amount: $scope.fiat});
var ok = gettextCatalog.getString('Buy');
popupService.showConfirm(title, null, ok, null, function(res) {
popupService.showConfirm(null, message, ok, null, function(res) {
if (res) self.createTx();
});
};