Issue #1273104 by TwoD, Rob Loach: Remove eval() from field_ui().js.
parent
5ab5617cb3
commit
e6b940240a
|
@ -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);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue