From 83c4188cdfb9f8a6a7c0ea101f948ed2101ef9d1 Mon Sep 17 00:00:00 2001 From: David Rothstein Date: Mon, 1 Apr 2013 18:53:20 -0400 Subject: Issue #946118 by droplet, lyricnz, dcam | rvilar: Fixed The machine name isn't updating correctly when the user selects a previous input value. --- misc/machine-name.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc/machine-name.js') diff --git a/misc/machine-name.js b/misc/machine-name.js index ced8c4bee..4678e0b53 100644 --- a/misc/machine-name.js +++ b/misc/machine-name.js @@ -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 != '') { -- cgit v1.2.3