summaryrefslogtreecommitdiff
path: root/misc/machine-name.js
diff options
context:
space:
mode:
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 != '') {