Fixes scanning paypro twice on WP

This commit is contained in:
Gustavo Maximiliano Cortez 2015-04-15 17:37:16 -03:00
parent b0778e5f1e
commit dff52e3b88
1 changed files with 21 additions and 19 deletions

View File

@ -337,6 +337,7 @@ angular.module('copayApp.controllers').controller('sendController',
var self = this; var self = this;
$log.debug('Fetch PayPro Request...', uri); $log.debug('Fetch PayPro Request...', uri);
$timeout(function() {
fc.fetchPayPro({ fc.fetchPayPro({
payProUrl: uri, payProUrl: uri,
}, function(err, paypro) { }, function(err, paypro) {
@ -358,6 +359,7 @@ angular.module('copayApp.controllers').controller('sendController',
paypro.memo); paypro.memo);
} }
}); });
}, 1);
}; };
this.setFromUri = function(uri) { this.setFromUri = function(uri) {