Merge pull request #3630 from cmgustavo/bug/payment-uri01
Fix payment URI
This commit is contained in:
commit
2ed91ab561
2 changed files with 2 additions and 3 deletions
|
|
@ -46,9 +46,8 @@ angular.module('copayApp.controllers').controller('paymentUriController',
|
||||||
if (wid != profileService.focusedClient.credentials.walletId) {
|
if (wid != profileService.focusedClient.credentials.walletId) {
|
||||||
profileService.setAndStoreFocus(wid, function() {});
|
profileService.setAndStoreFocus(wid, function() {});
|
||||||
}
|
}
|
||||||
go.send();
|
|
||||||
$timeout(function() {
|
$timeout(function() {
|
||||||
$rootScope.$emit('paymentUri', self.bitcoinURI);
|
$rootScope.$emit('paymentUri', self.bitcoinURI);
|
||||||
}, 100);
|
}, 1000);
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -39,8 +39,8 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
||||||
});
|
});
|
||||||
|
|
||||||
var disablePaymentUriListener = $rootScope.$on('paymentUri', function(event, uri) {
|
var disablePaymentUriListener = $rootScope.$on('paymentUri', function(event, uri) {
|
||||||
|
$rootScope.$emit('Local/SetTab', 'send');
|
||||||
$timeout(function() {
|
$timeout(function() {
|
||||||
$rootScope.$emit('Local/SetTab', 'send');
|
|
||||||
self.setForm(uri);
|
self.setForm(uri);
|
||||||
}, 100);
|
}, 100);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue