Merge pull request #19764 from ping-yee/19625-move-col
Fix #19625 - escape special characters in move columns.
This commit is contained in:
commit
63e9356e9f
@ -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