Merge pull request from birarda/bug/delete-add-rule

fix badging for changes in tables
This commit is contained in:
Clément Brisset 2018-02-21 18:14:21 -08:00 committed by GitHub
commit e83a933f50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -682,11 +682,11 @@ function makeTableHiddenInputs(setting, initialValues, categoryValue) {
} else {
html +=
"<td " + (col.hidden ? "style='display: none;'" : "") + " class='" + Settings.DATA_COL_CLASS + "' " +
"name='" + col.name + "'>" +
"<input type='text' style='display: none;' class='form-control' placeholder='" + (col.placeholder ? col.placeholder : "") + "' " +
"value='" + (defaultValue || "") + "' data-default='" + (defaultValue || "") + "'" +
(col.readonly ? " readonly" : "") + ">" +
"</td>";
"name='" + col.name + "'>" +
"<input type='text' style='display: none;' class='form-control " + Settings.TRIGGER_CHANGE_CLASS +
"' placeholder='" + (col.placeholder ? col.placeholder : "") + "' " +
"value='" + (defaultValue || "") + "' data-default='" + (defaultValue || "") + "'" +
(col.readonly ? " readonly" : "") + ">" + "</td>";
}
})