? .install.php.swp
? 335185-remove-no-js-css-D7_3.patch
? 335185-remove-no-js-css-D7_4.patch
? 439148-3.patch
? modules/dblog_cleanup_03.patch
? modules/php/php.inc
? sites/all/modules/coder
? sites/all/modules/devel
? sites/default/files
? sites/default/modules
? sites/default/settings.php
Index: modules/node/node.pages.inc
===================================================================
RCS file: /cvs/drupal/drupal/modules/node/node.pages.inc,v
retrieving revision 1.61
diff -u -p -r1.61 node.pages.inc
--- modules/node/node.pages.inc	25 Apr 2009 16:33:48 -0000	1.61
+++ modules/node/node.pages.inc	25 Apr 2009 22:44:27 -0000
@@ -437,7 +437,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.<span class="no-js"> You can insert the delimiter "&lt;!--break--&gt;" (without the quotes) to fine-tune where your post gets split.</span>'));
+    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.<span class="js-hide"> You can insert the delimiter "&lt;!--break--&gt;" (without the quotes) to fine-tune where your post gets split.</span>'));
     $output .= '<h3>' . t('Preview trimmed version') . '</h3>';
     $output .= drupal_render(node_build(clone $node, TRUE));
     $output .= '<h3>' . t('Preview full version') . '</h3>';
Index: modules/system/system.css
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.css,v
retrieving revision 1.54
diff -u -p -r1.54 system.css
--- modules/system/system.css	11 Apr 2009 22:19:45 -0000	1.54
+++ modules/system/system.css	25 Apr 2009 22:44:28 -0000
@@ -421,9 +421,6 @@ div.teaser-button-wrapper {
 textarea.teaser {
   display: none;
 }
-html.js .no-js {
-  display: none;
-}
 
 /*
 ** Progressbar styles
@@ -497,10 +494,14 @@ 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.
+** Styles for anything you want to hide on page load under certain conditions,
+** so that you can use the JS to control visibility and avoid flicker.
+**
+** Use the class 'hide' to hide an element by default.
+** Use the class 'js-hide' to hide an element if JavaScript is enabled.
+** Use the class 'js-show' to hide an element if JavaScript is disabled.
 */
-html.js .js-hide {
+.hide, html.js .js-hide, .js-show {
   display: none;
 }
 
Index: modules/system/system.js
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.js,v
retrieving revision 1.22
diff -u -p -r1.22 system.js
--- modules/system/system.js	4 Apr 2009 00:35:46 -0000	1.22
+++ modules/system/system.js	25 Apr 2009 22:44:28 -0000
@@ -124,4 +124,16 @@ Drupal.behaviors.poweredByPreview = {
   }
 };
 
+/**
+ * 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();
+    });
+  }
+};
+
 })(jQuery);
