From 6cce7d5a23ad8aa7f278e76b786761d3ccf8677f Mon Sep 17 00:00:00 2001 From: Javier Date: Wed, 21 Sep 2016 12:38:49 -0300 Subject: [PATCH] fix parameters on popup call --- src/js/controllers/activity.js | 4 ++-- src/js/controllers/tab-home.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/js/controllers/activity.js b/src/js/controllers/activity.js index 615dc13bb..696730bff 100644 --- a/src/js/controllers/activity.js +++ b/src/js/controllers/activity.js @@ -34,7 +34,7 @@ angular.module('copayApp.controllers').controller('activityController', if (txp) txpModalService.open(txp); else { $log.warn('No txp found'); - return popupService.showAlert(gettextCatalog.getString('Transaction not found'), null); + return popupService.showAlert(null, gettextCatalog.getString('Transaction not found')); } } }; @@ -53,7 +53,7 @@ angular.module('copayApp.controllers').controller('activityController', if (!tx) { $log.warn('No tx found'); - return popupService.showAlert(gettextCatalog.getString('Transaction not found'), null); + return popupService.showAlert(null, gettextCatalog.getString('Transaction not found')); } $scope.wallet = wallet; diff --git a/src/js/controllers/tab-home.js b/src/js/controllers/tab-home.js index cd6ae94e5..95c0908f3 100644 --- a/src/js/controllers/tab-home.js +++ b/src/js/controllers/tab-home.js @@ -26,7 +26,7 @@ angular.module('copayApp.controllers').controller('tabHomeController', if (txp) txpModalService.open(txp); else { $log.warn('No txp found'); - return popupService.showAlert(gettextCatalog.getString('Transaction not found'), null); + return popupService.showAlert(null, gettextCatalog.getString('Transaction not found')); } } }; @@ -45,7 +45,7 @@ angular.module('copayApp.controllers').controller('tabHomeController', if (!tx) { $log.warn('No tx found'); - return popupService.showAlert(gettextCatalog.getString('Transaction not found'), null); + return popupService.showAlert(null, gettextCatalog.getString('Transaction not found')); } $scope.wallet = wallet;