summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2008-10-01 12:31:43 +0000
committerArtur Signell <artur.signell@itmill.com>2008-10-01 12:31:43 +0000
commitf20e659b96bc701665f6122bf8659eeb53600163 (patch)
tree257603b62d7350be4d152a752512d9680e39a4aa /src
parentc6e6ecd21832fd7d27058c55f115954ff5134b3a (diff)
downloadvaadin-framework-f20e659b96bc701665f6122bf8659eeb53600163.tar.gz
vaadin-framework-f20e659b96bc701665f6122bf8659eeb53600163.zip
Fixed debug console restartApplication problem
svn changeset:5578/svn branch:trunk
Diffstat (limited to 'src')
-rwxr-xr-xsrc/com/itmill/toolkit/terminal/gwt/client/IDebugConsole.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/com/itmill/toolkit/terminal/gwt/client/IDebugConsole.java b/src/com/itmill/toolkit/terminal/gwt/client/IDebugConsole.java
index 0bd4ef03c4..8207387b97 100755
--- a/src/com/itmill/toolkit/terminal/gwt/client/IDebugConsole.java
+++ b/src/com/itmill/toolkit/terminal/gwt/client/IDebugConsole.java
@@ -109,12 +109,12 @@ public final class IDebugConsole extends IToolkitOverlay implements Console {
Window.Location.reload();
} else {
String url = Location.getHref();
- if (!url.contains("?")) {
- url += "?";
- } else {
- url += "&";
+ String separator = "?";
+ if (url.contains("?")) {
+ separator = "&";
}
if (!url.contains("restartApplication")) {
+ url += separator;
url += "restartApplication";
}
if (!"".equals(Location.getHash())) {