fix: fix the escape string.
Signed-off-by: Pin-Yi Song <611077101@mail.nknu.edu.tw>
This commit is contained in:
parent
e7d29a1286
commit
d549a4b0fc
@ -384,7 +384,7 @@ AJAX.registerOnload('table/structure.js', function () {
|
||||
for (var i in data.columns) {
|
||||
var theColumn = data.columns[i];
|
||||
var $theRow = $rows
|
||||
.find('input:checkbox[value=\'' + theColumn + '\']')
|
||||
.find('input:checkbox[value=' + $.escapeSelector(theColumn) + ']')
|
||||
.closest('tr');
|
||||
// append the row for this column to the table
|
||||
$fieldsTable.append($theRow);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user