reject button working
This commit is contained in:
parent
3c7c24de49
commit
b6280348e5
6 changed files with 99 additions and 49 deletions
|
|
@ -70,5 +70,14 @@ angular.module('copay.transactions').controller('TransactionsController',
|
|||
}
|
||||
};
|
||||
|
||||
|
||||
$scope.reject = function (ntxid) {
|
||||
var w = $rootScope.wallet;
|
||||
w.reject(ntxid);
|
||||
$rootScope.flashMessage = {type:'warning', message: 'Transaction rejected by you'};
|
||||
_updateTxs();
|
||||
$rootScope.$digest();
|
||||
};
|
||||
|
||||
_updateTxs();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue