Skip to content
Snippets Groups Projects
Commit e6b94024 authored by catch's avatar catch
Browse files

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

parent 5ab5617c
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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);
}
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment