Go walletHome before emit event

This commit is contained in:
Gustavo Maximiliano Cortez 2016-03-08 16:48:04 -03:00
parent f83fa9fc59
commit 5c2a6c96f9
No known key found for this signature in database
GPG Key ID: 15EDAD8D9F2EB1AF
1 changed files with 1 additions and 0 deletions

View File

@ -45,6 +45,7 @@ angular.module('copayApp.controllers').controller('paymentUriController',
this.selectWallet = function(wid) {
var self = this;
profileService.setAndStoreFocus(wid, function() {});
go.walletHome();
$timeout(function() {
$rootScope.$emit('paymentUri', self.bitcoinURI);
}, 1000);