Fix payment intent

This commit is contained in:
Gustavo Maximiliano Cortez 2014-11-30 19:14:22 -03:00 committed by Matias Alejo Garcia
commit 022de7d2b5
2 changed files with 4 additions and 4 deletions

View file

@ -4,7 +4,7 @@ angular.module('copayApp.controllers').controller('PaymentIntentController', fun
$scope.wallets = [];
$rootScope.title = 'Payment intent';
$scope.wallets = rootScope.iden.listWallets();
$scope.wallets = $rootScope.iden.listAllWallets();
var l = $scope.wallet.length;
_.each($scope.wallets, function(w, i) {
@ -39,8 +39,8 @@ angular.module('copayApp.controllers').controller('PaymentIntentController', fun
$scope.cancel = function() {
$rootScope.pendingPayment = null;
$location.path('/');
$modalInstance.close();
$location.path('/homeWallet');
};
};