Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 152719 Details for
Bug 295430
Blank page when Javascript is disabled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Proposed solution
nojswarning1.txt (text/plain), 2.40 KB, created by
Tim Buschtoens
on 2009-11-20 10:32:24 EST
(
hide
)
Description:
Proposed solution
Filename:
MIME Type:
Creator:
Tim Buschtoens
Created:
2009-11-20 10:32:24 EST
Size:
2.40 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rap.rwt >Index: src/org/eclipse/rwt/internal/service/rwt-index.html >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/runtime.rwt/org.eclipse.rap.rwt/src/org/eclipse/rwt/internal/service/rwt-index.html,v >retrieving revision 1.5 >diff -u -r1.5 rwt-index.html >--- src/org/eclipse/rwt/internal/service/rwt-index.html 24 Sep 2009 19:57:21 -0000 1.5 >+++ src/org/eclipse/rwt/internal/service/rwt-index.html 20 Nov 2009 14:26:06 -0000 >@@ -3,6 +3,18 @@ > <head> > <title>${title}</title> > <meta http-equiv="content-type" content="text/html; charset=UTF-8"> >+ <style type="text/css"> >+ #nojsmessage { >+ position:absolute; >+ top:0px; >+ left:0px; >+ width:100%; >+ height:100%; >+ padding:0px; >+ z-index:10000000; >+ background-color:white; >+ } >+ </style> > ${headers} > </head> > >@@ -16,6 +28,14 @@ > ${libraries} > <!-- end rap runtime javascript libraries --> > >+ <div id="nojsmessage" > >+ <p>Your browser or settings are not supported. >+ Please use one of those: IE 6 or higher >+ Firefox 1.5 or higher or Opera 10 or higher. >+ Ensure that javascript is enabled and >+ XMLHttpRequests are allowed.</p> >+ </div> >+ > <!-- validation and retrievment of startup conditions --> > <script type="text/javascript"> > function discoverAjax() { >@@ -65,20 +85,16 @@ > } > > if( discoverAjax() ) { >+ // hide unsupported browser message >+ var messagediv = document.getElementById( "nojsmessage" ); >+ messagediv.parentNode.removeChild( messagediv ); > // append application init parameters > appendInitParameters(); > // rap runtime application > ${appScript} > ${exitConfirmation} > // end rap runtime application >- } else { >- // write unsupported browser or security message >- document.write( "<p>Your browser or settings are not supported. " ); >- document.write( "Please use one of those: IE 6 or higher, " ); >- document.write( "Firefox 1.5 or higher or Opera 10 or higher. " ); >- document.write( "Ensure that javascript is enabled and " ); >- document.write( "XMLHttpRequests are allowed.</p>" ); >- } >+ } > </script> > </body> > </html>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 295430
:
152719
|
153933