浏览代码

chore: hide apply filter button

version-14
Saqib Ansari 4 年前
父节点
当前提交
75c20efd02
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. +5
    -0
      frappe/public/js/frappe/form/multi_select_dialog.js

+ 5
- 0
frappe/public/js/frappe/form/multi_select_dialog.js 查看文件

@@ -296,6 +296,9 @@ frappe.ui.form.MultiSelectDialog = class MultiSelectDialog {
this.get_results(); 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() { get_custom_filters() {
@@ -432,6 +435,8 @@ frappe.ui.form.MultiSelectDialog = class MultiSelectDialog {
me.$results.append(me.make_list_row(result)); me.$results.append(me.make_list_row(result));
}); });


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

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


正在加载...
取消
保存