diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-12-02 15:09:16 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-12-02 15:09:16 +0000 |
commit | 99833c6289339e863a6e3b04432bf8f335351736 (patch) | |
tree | 0cf0a9d143d3ecd9c4bca17129cc3f241e376968 /modules/node | |
parent | 92760988b9decb01831ba89bcc54056a702c3836 (diff) | |
download | brdo-99833c6289339e863a6e3b04432bf8f335351736.tar.gz brdo-99833c6289339e863a6e3b04432bf8f335351736.tar.bz2 |
- Patch #558928 by brandonojc, mgifford, Owen Barton, Everett Zufelt: improved consistency, flexibility and accessibility of form element labels.
Diffstat (limited to 'modules/node')
-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 8ff713ba9..ed4fe81d3 100644 --- a/modules/node/content_types.js +++ b/modules/node/content_types.js @@ -22,7 +22,7 @@ Drupal.behaviors.contentTypes = { }); $('fieldset#edit-display', context).setSummary(function(context) { var vals = []; - $('input:checked', context).parent().each(function() { + $('input:checked', context).next('label').each(function() { vals.push(Drupal.checkPlain($(this).text())); }); if (!$('#edit-node-submitted', context).is(':checked')) { |