summaryrefslogtreecommitdiff
path: root/modules/node
diff options
context:
space:
mode:
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')) {