Filter add/remove fix (#779)

This commit is contained in:
George Ke 2016-07-22 09:47:04 -07:00 committed by Maxime Beauchemin
parent cf785b4d03
commit 6731a287b5
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ function prepForm() {
["col", "op", "eq"].forEach(function (fieldMiddle) {
var fieldName = fieldPrefix + "_" + fieldMiddle;
$filter.find("#" + fieldName + "_0")
$filter.find("[id^='" + fieldName + "_']")
.attr("id", function () {
return fieldName + "_" + i;
})