diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-04-26 19:18:46 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-04-26 19:18:46 +0000 |
commit | bda52632a5aa033d44151c224a39236b223c6b0e (patch) | |
tree | da56b8095f58963707655312071d41de95adca84 /modules/node/content_types.js | |
parent | a4dc8467bbe69ba984be31309f536af74dc64e73 (diff) | |
download | brdo-bda52632a5aa033d44151c224a39236b223c6b0e.tar.gz brdo-bda52632a5aa033d44151c224a39236b223c6b0e.tar.bz2 |
#444402 by kkaefer and RobLoach: Enforce coding standards on all core JavaScript.
Diffstat (limited to 'modules/node/content_types.js')
-rw-r--r-- | modules/node/content_types.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/node/content_types.js b/modules/node/content_types.js index 7f6ff3a2d..8b32ae8ea 100644 --- a/modules/node/content_types.js +++ b/modules/node/content_types.js @@ -9,7 +9,7 @@ Drupal.behaviors.contentTypes = { var machine = $(this).val().toLowerCase().replace(/[^a-z0-9]+/g, '_').replace(/_+/g, '_'); if (machine != '_' && machine != '') { $('#edit-type').val(machine); - $('#node-type-name-suffix').empty().append(' Machine name: ' + machine + ' [').append($('<a href="#">'+ Drupal.t('Edit') +'</a>').click(function() { + $('#node-type-name-suffix').empty().append(' Machine name: ' + machine + ' [').append($('<a href="#">' + Drupal.t('Edit') + '</a>').click(function() { $('#edit-type-wrapper').show(); $('#node-type-name-suffix').hide(); $('#edit-name').unbind('keyup'); |