fix: Find footer buttons only in case of tree report
This commit is contained in:
parent
3a5166c423
commit
35165a7e69
1 changed files with 2 additions and 2 deletions
|
|
@ -1138,9 +1138,9 @@ frappe.views.QueryReport = class QueryReport extends frappe.views.BaseList {
|
|||
${__('Collapse All')}</button>
|
||||
</div>`);
|
||||
this.page.footer.before(this.$tree_footer);
|
||||
this.$tree_footer.find('[data-action=collapse_all_rows]').show();
|
||||
this.$tree_footer.find('[data-action=expand_all_rows]').hide();
|
||||
}
|
||||
this.$tree_footer.find('[data-action=collapse_all_rows]').show();
|
||||
this.$tree_footer.find('[data-action=expand_all_rows]').hide();
|
||||
}
|
||||
|
||||
expand_all_rows() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue