Commit 5d616120 authored by webchick's avatar webchick

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
......@@ -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');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment