Pārlūkot izejas kodu

chore: hide apply filter button

version-14
Saqib Ansari pirms 4 gadiem
vecāks
revīzija
75c20efd02
1 mainītis faili ar 5 papildinājumiem un 0 dzēšanām
  1. +5
    -0
      frappe/public/js/frappe/form/multi_select_dialog.js

+ 5
- 0
frappe/public/js/frappe/form/multi_select_dialog.js Parādīt failu

@@ -296,6 +296,9 @@ frappe.ui.form.MultiSelectDialog = class MultiSelectDialog {
this.get_results();
}
});
// 'Apply Filter' breaks since the filers are not in a popover
// Hence keeping it hidden
this.filter_group.wrapper.find('.apply-filters').hide();
}

get_custom_filters() {
@@ -432,6 +435,8 @@ frappe.ui.form.MultiSelectDialog = class MultiSelectDialog {
me.$results.append(me.make_list_row(result));
});

this.$results.find(".list-item--head").css("z-index", 0);

if (frappe.flags.auto_scroll) {
this.$results.animate({ scrollTop: me.$results.prop('scrollHeight') }, 500);
}


Notiek ielāde…
Atcelt
Saglabāt