diff --git a/js/controllers/paymentIntent.js b/js/controllers/paymentIntent.js index 846111383..870c83e9a 100644 --- a/js/controllers/paymentIntent.js +++ b/js/controllers/paymentIntent.js @@ -5,6 +5,8 @@ var bitcore = require('bitcore'); angular.module('copayApp.controllers').controller('PaymentIntentController', function($rootScope, $scope, $modal, $location, controllerUtils) { $scope.wallets = []; + $rootScope.title = 'Payment intent'; + $rootScope.starting = true; var wids = _.pluck($rootScope.iden.listWallets(), 'id'); _.each(wids, function(wid) { @@ -12,6 +14,7 @@ angular.module('copayApp.controllers').controller('PaymentIntentController', fun if (w && w.isReady()) { $scope.wallets.push(w); + $rootScope.starting = false; controllerUtils.clearBalanceCache(w); controllerUtils.updateBalance(w, function() { $rootScope.$digest(); @@ -40,6 +43,7 @@ angular.module('copayApp.controllers').controller('PaymentIntentController', fun $scope.wallets = items; $scope.ok = function(selectedItem) { controllerUtils.setPaymentWallet(selectedItem); +console.log('[paymentIntent.js:45]',selectedItem); //TODO $modalInstance.close(); };