Explorar el Código

Fixed jetty related bug

svn changeset:195/svn branch:toolkit
tags/6.7.0.beta1
Joonas Lehtinen hace 17 años
padre
commit
c218dd1480
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3
    2
      src/com/itmill/toolkit/terminal/web/ApplicationServlet.java

+ 3
- 2
src/com/itmill/toolkit/terminal/web/ApplicationServlet.java Ver fichero

@@ -693,12 +693,13 @@ public class ApplicationServlet extends HttpServlet implements
page.write("<div id=\"ajax-window\"></div>\n");

page.write("<script language=\"JavaScript\">\n");
String appUrl = getApplicationUrl(request).toString();
page
.write("var client = new ITMillToolkitClient("
+ "document.getElementById('ajax-window'),"
+ "\""
+ getApplicationUrl(request)
+ "/UIDL/"
+ appUrl + (appUrl.endsWith("/") ? "" : "/")
+ "UIDL/"
+ "\",\""
+ resourcePath + ((Theme)themes.get(themes.size()-1)).getName() + "/"

Cargando…
Cancelar
Guardar