[hotfix] uncaught read property split of undefinded (#3640)
This commit is contained in:
parent
fee697e7f3
commit
b89c69ee60
1 changed files with 3 additions and 1 deletions
|
|
@ -408,7 +408,9 @@ frappe.ui.Filter = Class.extend({
|
|||
}
|
||||
}
|
||||
} else if(in_list(["in", "not in"], this.get_condition())) {
|
||||
val = $.map(val.split(","), function(v) { return strip(v); });
|
||||
if(val) {
|
||||
val = $.map(val.split(","), function(v) { return strip(v); });
|
||||
}
|
||||
} if(val === '%') {
|
||||
val = "";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue