@@ -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 != '') {
|
||||
|
||||
Reference in New Issue
Block a user