list clear, unselect list-select-all (#6088)
This commit is contained in:
parent
50915f3177
commit
bea46dc45c
1 changed files with 1 additions and 0 deletions
|
|
@ -258,6 +258,7 @@ frappe.ui.BaseList = Class.extend({
|
|||
|
||||
clear: function () {
|
||||
this.data = [];
|
||||
this.wrapper.find('.list-select-all').prop('checked', false);
|
||||
this.wrapper.find('.result-list').empty();
|
||||
this.wrapper.find('.result').show();
|
||||
this.wrapper.find('.no-result').hide();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue