Issue #946118 by droplet, lyricnz: Fixed The machine name isn't updating correctly when the user selects a previous input value.

8.0.x
webchick 2013-03-24 11:59:29 -07:00
parent 4a78850e07
commit 689dc727c0
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}