]> source.dussan.org Git - vaadin-framework.git/commitdiff
old debug window now doesn't pop up in ajax mode
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Fri, 2 Feb 2007 10:57:22 +0000 (10:57 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Fri, 2 Feb 2007 10:57:22 +0000 (10:57 +0000)
svn changeset:411/svn branch:toolkit

src/com/itmill/toolkit/terminal/web/ApplicationServlet.java

index de0e2f7a87a1139921559fa3fe098104d6d6ee30..02d53c150d2c1cd1b03fb2999b7d984aeb4a61a1 100644 (file)
@@ -1486,11 +1486,10 @@ public class ApplicationServlet extends HttpServlet implements
                                return null;
                        }
                }
-
                // Create and open new debug window for application if requested
                Window debugWindow = application.getWindow(DebugWindow.WINDOW_NAME);
                if (debugWindow == null) {
-                       if (isDebugMode(params))
+                       if (isDebugMode(params)  && !request.getPathInfo().startsWith(AJAX_UIDL_URI))
                                try {
                                        debugWindow = new DebugWindow(application, request
                                                        .getSession(false), this);