summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2014-11-09 00:55:56 (GMT)
committerAlex Pott2014-11-09 00:55:56 (GMT)
commitfa2be71e4fd287235990b76080cd1fcc55b695b4 (patch)
tree4851c01b614474f3d8d9735ec444910bbda2ed5b
parentb0c49c821fff95ceae651f7fc3acc88de2cd6f9c (diff)
Issue #2347787 by andrei.dincu | cosmicdreams: Fixed Content Type edit form always displays "Don't display post information".
-rw-r--r--core/modules/node/content_types.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/node/content_types.js b/core/modules/node/content_types.js
index 7b8b9a2..3cfa38c 100644
--- a/core/modules/node/content_types.js
+++ b/core/modules/node/content_types.js
@@ -43,7 +43,7 @@
$context.find('input:checked').next('label').each(function () {
vals.push(Drupal.checkPlain($(this).text()));
});
- if (!$context.find('#edit-settings-node-submitted').is(':checked')) {
+ if (!$context.find('#edit-display-submitted').is(':checked')) {
vals.unshift(Drupal.t("Don't display post information"));
}
return vals.join(', ');