summaryrefslogtreecommitdiff
path: root/modules/node
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-12-02 15:09:16 +0000
committerDries Buytaert <dries@buytaert.net>2009-12-02 15:09:16 +0000
commit99833c6289339e863a6e3b04432bf8f335351736 (patch)
tree0cf0a9d143d3ecd9c4bca17129cc3f241e376968 /modules/node
parent92760988b9decb01831ba89bcc54056a702c3836 (diff)
downloadbrdo-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.js2
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')) {