prelim remake of tx detail view
This commit is contained in:
parent
c689d4eb13
commit
298956f97f
5 changed files with 139 additions and 9 deletions
|
|
@ -92,12 +92,15 @@ angular.module('copayApp.controllers').controller('walletDetailsController', fun
|
|||
$scope.openTxModal = function(btx) {
|
||||
$scope.btx = lodash.cloneDeep(btx);
|
||||
$scope.walletId = $scope.wallet.id;
|
||||
$ionicModal.fromTemplateUrl('views/modals/tx-details.html', {
|
||||
scope: $scope
|
||||
}).then(function(modal) {
|
||||
$scope.txDetailsModal = modal;
|
||||
$scope.txDetailsModal.show();
|
||||
});
|
||||
|
||||
console.log('$state.go called');
|
||||
$state.go('tabs.wallet.tx-details', {tx: $scope.btx, wallet: $scope.wallet});
|
||||
// $ionicModal.fromTemplateUrl('views/modals/tx-details.html', {
|
||||
// scope: $scope
|
||||
// }).then(function(modal) {
|
||||
// $scope.txDetailsModal = modal;
|
||||
// $scope.txDetailsModal.show();
|
||||
// });
|
||||
};
|
||||
|
||||
$scope.recreate = function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue