]> source.dussan.org Git - vaadin-framework.git/commitdiff
removed unnecessary TTServerUri
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Tue, 19 Feb 2008 08:11:17 +0000 (08:11 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Tue, 19 Feb 2008 08:11:17 +0000 (08:11 +0000)
svn changeset:3838/svn branch:trunk

src/com/itmill/toolkit/terminal/gwt/server/ApplicationServlet.java

index 14872e3116f56c82c608add754a40ffdbd0a311e..f83649037ed5cfcbf6b6d70b32731c7de41f6e0a 100644 (file)
@@ -678,18 +678,11 @@ public class ApplicationServlet extends HttpServlet {
             themeUri = staticFilePath + "/" + THEME_DIRECTORY_PATH + themeName;
         }
 
-        boolean testingWindow = testingToolsActive
-                && request.getParameter("TT") != null;
-
         // TODO simplify if possible (probably)
 
         page.write("', pathInfo: '" + pathInfo);
         page.write("', themeUri: ");
         page.write(themeUri != null ? "'" + themeUri + "'" : "null");
-        if (testingWindow) {
-            page.write(", testingToolsUri : '" + getTestingToolsUri(request)
-                    + "'");
-        }
         if (testingToolsActive) {
             page.write(", versionInfo : {toolkitVersion:\"");
             page.write(VERSION);
@@ -700,6 +693,9 @@ public class ApplicationServlet extends HttpServlet {
 
         page.write("\n};\n</script>\n");
 
+        boolean testingWindow = testingToolsActive
+                && request.getParameter("TT") != null;
+
         if (testingWindow) {
             writeTestingToolsScripts(page, request);
         }