txp and txhistory share outputs.html for all amount/address/message
This commit is contained in:
parent
4867e9983f
commit
43bca75728
5 changed files with 75 additions and 65 deletions
|
|
@ -364,14 +364,8 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
|||
self.copyAddress(addr);
|
||||
};
|
||||
|
||||
$scope.toggleOutputSummary = function(output) {
|
||||
if (output.parent.isSummarized) {
|
||||
output.parent.isSummarized = false;
|
||||
output.parent.list = output.parent.details;
|
||||
} else {
|
||||
output.parent.isSummarized = true;
|
||||
output.parent.list = output.parent.summary;
|
||||
}
|
||||
$scope.toggleOutputDetails = function(summary) {
|
||||
summary.showDetails = !summary.showDetails;
|
||||
};
|
||||
|
||||
$scope.cancel = function() {
|
||||
|
|
@ -1059,6 +1053,10 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
|||
$scope.cancel = function() {
|
||||
$modalInstance.dismiss('cancel');
|
||||
};
|
||||
|
||||
$scope.toggleOutputDetails = function(summary) {
|
||||
summary.showDetails = !summary.showDetails;
|
||||
};
|
||||
};
|
||||
|
||||
var modalInstance = $modal.open({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue