瀏覽代碼

[hotfix] uncaught read property split of undefinded (#3640)

version-14
Makarand Bauskar 8 年之前
committed by GitHub
父節點
當前提交
b89c69ee60
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. +3
    -1
      frappe/public/js/frappe/ui/filters/filters.js

+ 3
- 1
frappe/public/js/frappe/ui/filters/filters.js 查看文件

@@ -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…
取消
儲存