Skip to content
Snippets Groups Projects

Update machine name

Open David Cameron requested to merge issue/drupal-3438739:3438739-machine-name-D11 into 11.x
1 unresolved thread
2 files
+ 10
4
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 1
1
@@ -229,7 +229,7 @@
@@ -229,7 +229,7 @@
// Preview the machine name in realtime when the human-readable name
// Preview the machine name in realtime when the human-readable name
// changes, but only if there is no machine name yet; i.e., only upon
// changes, but only if there is no machine name yet; i.e., only upon
// initial creation, not when editing.
// initial creation, not when editing.
if ($target[0].value === '') {
if (machine === '') {
// Listen to the 'change' and 'input' events that are fired
// Listen to the 'change' and 'input' events that are fired
// immediately as the user is typing for faster response time. This is
// immediately as the user is typing for faster response time. This is
// safe because the event handler doesn't include any slow
// safe because the event handler doesn't include any slow
Loading