Skip to content

Commit

Permalink
Issue #946118 by droplet, lyricnz, dcam | rvilar: Fixed The machine n…
Browse files Browse the repository at this point in the history
…ame isn't updating correctly when the user selects a previous input value.
  • Loading branch information
DavidRothstein committed Apr 1, 2013
1 parent 154389d commit 83c4188
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/machine-name.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,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', function () {
$source.bind('keyup.machineName change.machineName input.machineName', function () {
machine = self.transliterate($(this).val(), options);
// Set the machine name to the transliterated value.
if (machine != '') {
Expand Down

0 comments on commit 83c4188

Please sign in to comment.