Skip to content
Snippets Groups Projects
Commit 5d616120 authored by Angie Byron's avatar Angie Byron
Browse files

Issue #1700210 by nod_, aaronbauman: Fixed After editing a field machine name,...

Issue #1700210 by nod_, aaronbauman: Fixed After editing a field machine name, then re-ordering the field, machine name field disappears.
parent 30eee089
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
......@@ -62,7 +62,7 @@ Drupal.behaviors.machineName = {
if (settings.machineName.hasOwnProperty(source_id)) {
options = settings.machineName[source_id];
var $source = $context.find(source_id).addClass('machine-name-source');
var $source = $context.find(source_id).addClass('machine-name-source').once('machine-name');
var $target = $context.find(options.target).addClass('machine-name-target');
var $suffix = $context.find(options.suffix);
var $wrapper = $target.closest('.form-item');
......
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