Fix routes

This commit is contained in:
Gustavo Maximiliano Cortez 2016-09-16 21:01:19 -03:00
commit 10cc7fdf53
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
13 changed files with 76 additions and 92 deletions

View file

@ -26,10 +26,12 @@ angular.module('copayApp.controllers').controller('addressbookViewController', f
});
$scope.sendTo = function() {
$state.go('^.^.send');
$timeout(function() {
$state.transitionTo('send.amount', {
$state.go('.amount', {
toAddress: $scope.addressbookEntry.address,
toName: $scope.addressbookEntry.name
toName: $scope.addressbookEntry.name,
toEmail: $scope.addressbookEntry.email
});
}, 100);
};