]> source.dussan.org Git - vaadin-framework.git/commitdiff
Absolute urls changed to relative (again) so that reservr can work in a non-root...
authorMarc Englund <marc.englund@itmill.com>
Fri, 13 Jun 2008 13:01:34 +0000 (13:01 +0000)
committerMarc Englund <marc.englund@itmill.com>
Fri, 13 Jun 2008 13:01:34 +0000 (13:01 +0000)
svn changeset:4868/svn branch:trunk

WebContent/reservr.html

index 48e299a5bf70b210ee0458698fec8a276e91fa09..320679d8910c78aebd4d013a314399d059b21427 100644 (file)
        </div>
 \r
 <iframe id="__gwt_historyFrame" style="width:0;height:0;border:0;overflow:hidden" src="javascript:false"></iframe>
-<script language='javascript' src='/ITMILL/widgetsets/com.itmill.toolkit.demo.reservation.gwt.ReservationWidgetSet/com.itmill.toolkit.demo.reservation.gwt.ReservationWidgetSet.nocache.js'></script>
+<script language='javascript' src='ITMILL/widgetsets/com.itmill.toolkit.demo.reservation.gwt.ReservationWidgetSet/com.itmill.toolkit.demo.reservation.gwt.ReservationWidgetSet.nocache.js'></script>
 <script type="text/javascript">
 //<![CDATA[
        if(!itmill || !itmill.toolkitConfigurations) {
         if(!itmill) { var itmill = {}} 
        itmill.toolkitConfigurations = {};
        itmill.themesLoaded = {}};
-       itmill.toolkitConfigurations["Reservr"] = {appUri:'/Reservr', pathInfo: '/', themeUri:'/ITMILL/themes/reservr'};
+       itmill.toolkitConfigurations["Reservr"] = {appUri:'../../../Reservr', pathInfo: '/', themeUri:'../../../ITMILL/themes/reservr'};
 //]]>
 </script>
 <script type="text/javascript">
@@ -40,7 +40,7 @@
        var stylesheet = document.createElement('link');
        stylesheet.setAttribute('rel', 'stylesheet');
        stylesheet.setAttribute('type', 'text/css');
-       stylesheet.setAttribute('href', '/ITMILL/themes/reservr/styles.css');
+       stylesheet.setAttribute('href', 'ITMILL/themes/reservr/styles.css');
        document.getElementsByTagName('head')[0].appendChild(stylesheet);
        itmill.themesLoaded['reservr'] = true;
        }