Fix History from URI. Fix paypro. Fix join
This commit is contained in:
parent
10cc7fdf53
commit
d46a53c404
5 changed files with 82 additions and 53 deletions
|
|
@ -1,6 +1,6 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('addressbookViewController', function($scope, $state, $timeout, $stateParams, lodash, addressbookService, popupService) {
|
||||
angular.module('copayApp.controllers').controller('addressbookViewController', function($scope, $state, $timeout, $stateParams, lodash, addressbookService, popupService, $ionicHistory) {
|
||||
|
||||
var address = $stateParams.address;
|
||||
|
||||
|
|
@ -26,9 +26,10 @@ angular.module('copayApp.controllers').controller('addressbookViewController', f
|
|||
});
|
||||
|
||||
$scope.sendTo = function() {
|
||||
$state.go('^.^.send');
|
||||
$ionicHistory.clearHistory();
|
||||
$state.go('tabs.send');
|
||||
$timeout(function() {
|
||||
$state.go('.amount', {
|
||||
$state.transitionTo('tabs.send.amount', {
|
||||
toAddress: $scope.addressbookEntry.address,
|
||||
toName: $scope.addressbookEntry.name,
|
||||
toEmail: $scope.addressbookEntry.email
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue