diff options
author | Matti Tahvonen <matti.tahvonen@itmill.com> | 2008-03-25 12:49:09 +0000 |
---|---|---|
committer | Matti Tahvonen <matti.tahvonen@itmill.com> | 2008-03-25 12:49:09 +0000 |
commit | a70761ab01ab370dce01eb3aeca7733e29f33618 (patch) | |
tree | 6b713c4e6308f782c09dd8881c1b283b9f9eb680 /src/com | |
parent | 7424c775321539c8ced60832c5466e36869bc9eb (diff) | |
download | vaadin-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-x | src/com/itmill/toolkit/terminal/gwt/client/ApplicationConnection.java | 1 |
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; |