updated to use drupal once function instead of jquery once
This commit is contained in:
parent
469bd8005d
commit
4c8c26f4b2
5 changed files with 12 additions and 11 deletions
|
|
@ -83,7 +83,7 @@
|
|||
updateFieldWeights(table, regionName);
|
||||
};
|
||||
|
||||
$(context).find('select.field-display').once('field-display').on('change', function (event) {
|
||||
$(once('field-display', 'select.field-display', context)).on('change', function (event) {
|
||||
var row = $(this).closest('tr');
|
||||
var select = $(this);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue