Index: modules/node/node.pages.inc =================================================================== RCS file: /cvs/drupal/drupal/modules/node/node.pages.inc,v retrieving revision 1.45 diff -u -p -r1.45 node.pages.inc --- modules/node/node.pages.inc 13 Oct 2008 00:33:03 -0000 1.45 +++ modules/node/node.pages.inc 17 Nov 2008 03:03:08 -0000 @@ -413,7 +413,7 @@ function theme_node_preview($node) { } if ($preview_trimmed_version) { - drupal_set_message(t('The trimmed version of your post shows what your post looks like when promoted to the main page or when exported for syndication. You can insert the delimiter "<!--break-->" (without the quotes) to fine-tune where your post gets split.')); + drupal_set_message(t('The trimmed version of your post shows what your post looks like when promoted to the main page or when exported for syndication. You can insert the delimiter "<!--break-->" (without the quotes) to fine-tune where your post gets split.')); $output .= '

' . t('Preview trimmed version') . '

'; $output .= node_view(clone $node, 1, FALSE, 0); $output .= '

' . t('Preview full version') . '

'; Index: modules/system/system.css =================================================================== RCS file: /cvs/drupal/drupal/modules/system/system.css,v retrieving revision 1.52 diff -u -p -r1.52 system.css --- modules/system/system.css 19 Oct 2008 20:55:07 -0000 1.52 +++ modules/system/system.css 17 Nov 2008 03:03:09 -0000 @@ -416,9 +416,6 @@ div.teaser-button-wrapper { textarea.teaser { display: none; } -html.js .no-js { - display: none; -} /* ** Progressbar styles @@ -495,7 +492,7 @@ table.sticky-header { ** For anything you want to hide on page load when JS is enabled, so ** that you can use the JS to control visibility and avoid flicker. */ -html.js .js-hide { +html.js .js-hide, .hide, .js-show { display: none; } Index: modules/system/system.js =================================================================== RCS file: /cvs/drupal/drupal/modules/system/system.js,v retrieving revision 1.16 diff -u -p -r1.16 system.js --- modules/system/system.js 29 Oct 2008 10:01:27 -0000 1.16 +++ modules/system/system.js 17 Nov 2008 03:03:09 -0000 @@ -117,3 +117,15 @@ Drupal.behaviors.dateTime = { $('select.date-format', context).trigger('change'); } }; + +/** + * Show elements with the 'js-show' class. These elements will not be shown if + * JavaScript is disabled. + */ +Drupal.behaviors.jsShow = { + attach: function(context) { + $(document).ready(function () { + $('.js-show').show(); + }); + } +};