fix parameters on popup call

This commit is contained in:
Javier 2016-09-21 12:38:49 -03:00
commit 6cce7d5a23
2 changed files with 4 additions and 4 deletions

View file

@ -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;

View file

@ -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;