Issue #1273104 by TwoD, Rob Loach: Remove eval() from field_ui().js.

8.0.x
Nathaniel 2011-12-01 13:29:01 +09:00
parent 5ab5617cb3
commit e6b940240a
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ Drupal.fieldUIOverview = {
data.tableDrag = tableDrag;
// Create the row handler, make it accessible from the DOM row element.
var rowHandler = eval('new rowHandlers.' + data.rowHandler + '(row, data);');
var rowHandler = new rowHandlers[data.rowHandler](row, data);
$(row).data('fieldUIRowHandler', rowHandler);
}
});