Reviewers: Ray Ryan,

Description:
Avoid the blank page of death when JavaScript is turned off or not
available

Please review this at http://gwt-code-reviews.appspot.com/51825

Affected files:
   user/src/com/google/gwt/junit/public/junit.html
   user/src/com/google/gwt/user/tools/AppHtml.htmlsrc
   user/test/com/google/gwt/i18n/public_es_AR/junit.html
   user/test/com/google/gwt/i18n/public_es_MX/junit.html


Index: user/test/com/google/gwt/i18n/public_es_AR/junit.html
===================================================================
--- user/test/com/google/gwt/i18n/public_es_AR/junit.html       (revision 5768)
+++ user/test/com/google/gwt/i18n/public_es_AR/junit.html       (working copy)
@@ -63,5 +63,6 @@
  -->
  </script>
  <iframe src="javascript:''" id='__gwt_historyFrame'  
style='position:absolute;width:0;height:0;border:0'></iframe>
+<noscript><b style="color: red; border: 1px solid red; padding: 4px;">Your  
web browser must have JavaScript enabled in order for this application to  
display correctly</b></noscript>
  </body>
  </html>
Index: user/test/com/google/gwt/i18n/public_es_MX/junit.html
===================================================================
--- user/test/com/google/gwt/i18n/public_es_MX/junit.html       (revision 5768)
+++ user/test/com/google/gwt/i18n/public_es_MX/junit.html       (working copy)
@@ -63,5 +63,6 @@
  -->
  </script>
  <iframe src="javascript:''" id='__gwt_historyFrame'  
style='position:absolute;width:0;height:0;border:0'></iframe>
+<noscript><b style="color: red; border: 1px solid red; padding: 4px;">Your  
web browser must have JavaScript enabled in order for this application to  
display correctly</b></noscript>
  </body>
  </html>
Index: user/src/com/google/gwt/junit/public/junit.html
===================================================================
--- user/src/com/google/gwt/junit/public/junit.html     (revision 5768)
+++ user/src/com/google/gwt/junit/public/junit.html     (working copy)
@@ -56,5 +56,6 @@
  -->
  </script>
  <iframe src="javascript:''" id='__gwt_historyFrame'  
style='position:absolute;width:0;height:0;border:0'></iframe>
+<noscript><b style="color: red; border: 1px solid red; padding: 4px;">Your  
web browser must have JavaScript enabled in order for this application to  
display correctly</b></noscript>
  </body>
  </html>
Index: user/src/com/google/gwt/user/tools/AppHtml.htmlsrc
===================================================================
--- user/src/com/google/gwt/user/tools/AppHtml.htmlsrc  (revision 5768)
+++ user/src/com/google/gwt/user/tools/AppHtml.htmlsrc  (working copy)
@@ -37,6 +37,9 @@

      <!-- OPTIONAL: include this if you want history support -->
      <iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1'  
style="position:absolute;width:0;height:0;border:0"></iframe>
+
+    <!-- RECOMMENDED if you web app will not function without JavaScript  
enabled -->
+    <noscript><b style="color: red; border: 1px solid red; padding:  
4px;">Your web browser must have JavaScript enabled in order for this  
application to display correctly</b></noscript>

      <h1>Web Application Starter Project</h1>




--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to