diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-24 03:11:34 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-24 03:11:34 +0000 |
commit | bf9c6341231cf2bc17895d54e41bc824eb742b7a (patch) | |
tree | 52ee004d1ad1cddf529552462f3e0ab7bf098add /modules/taxonomy | |
parent | 03a5563b899bf47d29914c812c5153fd725d6d46 (diff) | |
download | brdo-bf9c6341231cf2bc17895d54e41bc824eb742b7a.tar.gz brdo-bf9c6341231cf2bc17895d54e41bc824eb742b7a.tar.bz2 |
#550572 by sun and c960657: Fixed CSS+JS regressions related to form-item-[name].
Diffstat (limited to 'modules/taxonomy')
-rw-r--r-- | modules/taxonomy/vocabulary.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/taxonomy/vocabulary.js b/modules/taxonomy/vocabulary.js index 227f2b9cd..ff2fd667e 100644 --- a/modules/taxonomy/vocabulary.js +++ b/modules/taxonomy/vocabulary.js @@ -4,13 +4,13 @@ Drupal.behaviors.contentTypes = { attach: function () { if ($('#edit-machine-name').val() == $('#edit-name').val().toLowerCase().replace(/[^a-z0-9]+/g, '_').replace(/_+/g, '_') || $('#edit-machine-name').val() == '') { - $('#edit-machine-name-wrapper').hide(); + $('.form-item-machine-name').hide(); $('#edit-name').keyup(function () { var machine = $(this).val().toLowerCase().replace(/[^a-z0-9]+/g, '_').replace(/_+/g, '_'); if (machine != '_' && machine != '') { $('#edit-machine-name').val(machine); $('#vocabulary-name-suffix').empty().append(' Machine name: ' + machine + ' [').append($('<a href="#">' + Drupal.t('Edit') + '</a>').click(function () { - $('#edit-machine-name-wrapper').show(); + $('.form-item-machine-name').show(); $('#vocabulary-name-suffix').hide(); $('#edit-name').unbind('keyup'); return false; |