summaryrefslogtreecommitdiff
path: root/misc/machine-name.js
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2013-04-01 18:53:20 -0400
committerDavid Rothstein <drothstein@gmail.com>2013-04-01 18:53:20 -0400
commit83c4188cdfb9f8a6a7c0ea101f948ed2101ef9d1 (patch)
treefad06ed075d91f30428b72d6ea8b1bc957640ca4 /misc/machine-name.js
parent154389daa596af81da96de7a067f3ef72cc2f2a4 (diff)
downloadbrdo-83c4188cdfb9f8a6a7c0ea101f948ed2101ef9d1.tar.gz
brdo-83c4188cdfb9f8a6a7c0ea101f948ed2101ef9d1.tar.bz2
Issue #946118 by droplet, lyricnz, dcam | rvilar: Fixed The machine name isn't updating correctly when the user selects a previous input value.
Diffstat (limited to 'misc/machine-name.js')
-rw-r--r--misc/machine-name.js2
1 files changed, 1 insertions, 1 deletions
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 != '') {