Go to the actual wallet

This commit is contained in:
Matias Pando 2014-11-06 11:17:05 -03:00
parent d13600a4f5
commit bef1113fc3
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
var bitcore = require('bitcore');
angular.module('copayApp.controllers').controller('PaymentIntentController', function($rootScope, $scope, $modal, controllerUtils) {
angular.module('copayApp.controllers').controller('PaymentIntentController', function($rootScope, $scope, $modal, $location, controllerUtils) {
$scope.wallets = [];
@ -44,7 +44,7 @@ angular.module('copayApp.controllers').controller('PaymentIntentController', fun
$scope.cancel = function() {
$rootScope.pendingPayment = null;
controllerUtils.setFocusedWallet($scope.wallets[0]);
$location.path('/');
$modalInstance.close();
};
};