Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 295430 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/rwt/internal/service/rwt-index.html (-8 / +24 lines)
Lines 3-8 Link Here
3
  <head>
3
  <head>
4
    <title>${title}</title>
4
    <title>${title}</title>
5
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
5
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
6
    <style type="text/css">
7
      #nojsmessage {
8
        position:absolute;
9
        top:0px;
10
        left:0px;
11
        width:100%;
12
        height:100%;
13
        padding:0px;
14
        z-index:10000000;
15
        background-color:white;
16
      }
17
    </style>    
6
    ${headers}
18
    ${headers}
7
  </head>
19
  </head>
8
20
Lines 16-21 Link Here
16
    ${libraries}
28
    ${libraries}
17
    <!-- end rap runtime javascript libraries -->
29
    <!-- end rap runtime javascript libraries -->
18
30
31
    <div id="nojsmessage" >
32
      <p>Your browser or settings are not supported.
33
      Please use one of those: IE 6 or higher
34
      Firefox 1.5 or higher or Opera 10 or higher.
35
      Ensure that javascript is enabled and
36
      XMLHttpRequests are allowed.</p>
37
    </div>
38
19
    <!-- validation and retrievment of startup conditions -->
39
    <!-- validation and retrievment of startup conditions -->
20
    <script type="text/javascript">
40
    <script type="text/javascript">
21
      function discoverAjax() {
41
      function discoverAjax() {
Lines 65-84 Link Here
65
      }
85
      }
66
86
67
      if( discoverAjax() ) {
87
      if( discoverAjax() ) {
88
        // hide unsupported browser message
89
        var messagediv = document.getElementById( "nojsmessage" );
90
        messagediv.parentNode.removeChild( messagediv );      
68
        // append application init parameters
91
        // append application init parameters
69
        appendInitParameters();
92
        appendInitParameters();
70
        // rap runtime application
93
        // rap runtime application
71
        ${appScript}
94
        ${appScript}
72
        ${exitConfirmation}
95
        ${exitConfirmation}
73
        // end rap runtime application
96
        // end rap runtime application
74
      } else {
97
      } 
75
        // write unsupported browser or security message
76
        document.write( "<p>Your browser or settings are not supported. " );
77
        document.write( "Please use one of those: IE 6 or higher, " );
78
        document.write( "Firefox 1.5 or higher or Opera 10 or higher. " );
79
        document.write( "Ensure that javascript is enabled and " );
80
        document.write( "XMLHttpRequests are allowed.</p>" );
81
      }
82
    </script>
98
    </script>
83
  </body>
99
  </body>
84
</html>
100
</html>

Return to bug 295430