summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
authorMatti Tahvonen <matti.tahvonen@itmill.com>2008-03-25 12:49:09 +0000
committerMatti Tahvonen <matti.tahvonen@itmill.com>2008-03-25 12:49:09 +0000
commita70761ab01ab370dce01eb3aeca7733e29f33618 (patch)
tree6b713c4e6308f782c09dd8881c1b283b9f9eb680 /src/com
parent7424c775321539c8ced60832c5466e36869bc9eb (diff)
downloadvaadin-framework-a70761ab01ab370dce01eb3aeca7733e29f33618.tar.gz
vaadin-framework-a70761ab01ab370dce01eb3aeca7733e29f33618.zip
avoid "hanged response indicator" when receiving non-valid json
svn changeset:4084/svn branch:trunk
Diffstat (limited to 'src/com')
-rwxr-xr-xsrc/com/itmill/toolkit/terminal/gwt/client/ApplicationConnection.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/itmill/toolkit/terminal/gwt/client/ApplicationConnection.java b/src/com/itmill/toolkit/terminal/gwt/client/ApplicationConnection.java
index 0b15fb6036..0bcdea61c0 100755
--- a/src/com/itmill/toolkit/terminal/gwt/client/ApplicationConnection.java
+++ b/src/com/itmill/toolkit/terminal/gwt/client/ApplicationConnection.java
@@ -345,6 +345,7 @@ public class ApplicationConnection {
try {
json = JSONParser.parse(jsonText);
} catch (final com.google.gwt.json.client.JSONException e) {
+ endRequest();
console.log(e.getMessage() + " - Original JSON-text:");
console.log(jsonText);
return;