From 6e299f91d16b3048472caf647a06f4f3494b08e7 Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Sun, 30 Nov 2014 18:03:39 -0300 Subject: [PATCH] Fix updateTxs after send, sign or reject a txp --- js/controllers/send.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/js/controllers/send.js b/js/controllers/send.js index 6ae640601..2dfb47571 100644 --- a/js/controllers/send.js +++ b/js/controllers/send.js @@ -140,7 +140,7 @@ angular.module('copayApp.controllers').controller('SendController', $scope.error = message; $scope.loading = false; - $scope.loadTxs(); + $scope.updateTxs(); }; $scope.submitForm = function(form) { @@ -184,7 +184,7 @@ angular.module('copayApp.controllers').controller('SendController', if (err) return $scope._showError(err); $scope.notifyStatus(status); - $scope.loadTxs(); + $scope.updateTxs(); }); }; @@ -405,7 +405,7 @@ angular.module('copayApp.controllers').controller('SendController', w.issueTx(ntxid, function(err, txid, status) { $scope.notifyStatus(status); if (cb) return cb(); - else $scope.loadTxs(); + else $scope.updateTxs(); }); }; @@ -415,7 +415,7 @@ angular.module('copayApp.controllers').controller('SendController', w.signAndSend(ntxid, function(err, id, status) { $scope.notifyStatus(status); - $scope.loadTxs(); + $scope.updateTxs(); }); }; @@ -424,7 +424,7 @@ angular.module('copayApp.controllers').controller('SendController', $rootScope.txAlertCount = 0; w.reject(ntxid); notification.warning('Transaction rejected', 'You rejected the transaction successfully'); - $scope.loadTxs(); + $scope.updateTxs(); }; $scope.clearMerchant = function(callback) {