list clear, unselect list-select-all (#6088)

This commit is contained in:
gshmu 2018-09-24 15:29:37 +08:00 committed by Rushabh Mehta
parent 50915f3177
commit bea46dc45c

View file

@ -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();