Issue #946118 by droplet, lyricnz: Fixed The machine name isn't updating correctly when the user selects a previous input value.
parent
4a78850e07
commit
689dc727c0
|
@ -116,7 +116,7 @@ Drupal.behaviors.machineName = {
|
|||
// changes, but only if there is no machine name yet; i.e., only upon
|
||||
// initial creation, not when editing.
|
||||
if ($target.val() === '') {
|
||||
$source.bind('keyup.machineName change.machineName', eventData, machineNameHandler)
|
||||
$source.bind('keyup.machineName change.machineName input.machineName', eventData, machineNameHandler)
|
||||
// Initialize machine name preview.
|
||||
.keyup();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue