修复普通搜索的BUG

pull/18/head
Karson 2017-09-20 20:34:56 +08:00
parent 4b39ec52f9
commit df5f784f5d
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@
value = $("[name='" + name + "']:checked", that.$commonsearch).val();
}
} else {
value = (typeof vObjCol.process === 'function') ? vObjCol.process(obj.val()) : (sym == 'LIKE %...%' ? obj.val().replace(/\*/g, '%') : obj.val());
value = (vObjCol && typeof vObjCol.process === 'function') ? vObjCol.process(obj.val()) : (sym == 'LIKE %...%' ? obj.val().replace(/\*/g, '%') : obj.val());
}
if (removeempty && value == '' && sym.indexOf("NULL") == -1) {
return true;