summaryrefslogtreecommitdiffstats
path: root/WebContent
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2013-04-18 00:21:22 +0300
committerVaadin Code Review <review@vaadin.com>2013-04-18 06:50:06 +0000
commitfb422a20d7c2e098ca891f79a9a883d8856edb9b (patch)
treee868f143a3c7e58945af6f0fe87db99781c8cb5c /WebContent
parentd44f49c73b2042c03ed2f6f94537949ff94dc471 (diff)
downloadvaadin-framework-fb422a20d7c2e098ca891f79a9a883d8856edb9b.tar.gz
vaadin-framework-fb422a20d7c2e098ca891f79a9a883d8856edb9b.zip
Fixed streaming problem (Atmosphere bug 1027) (#11629)
Change-Id: I1fa7efbf7261ca4cc14ac993affe567fcd9904ea
Diffstat (limited to 'WebContent')
-rw-r--r--WebContent/VAADIN/jquery.atmosphere.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/WebContent/VAADIN/jquery.atmosphere.js b/WebContent/VAADIN/jquery.atmosphere.js
index c88d5ae368..e9def6ae95 100644
--- a/WebContent/VAADIN/jquery.atmosphere.js
+++ b/WebContent/VAADIN/jquery.atmosphere.js
@@ -2147,15 +2147,16 @@ jQuery.atmosphere = function() {
}
function _prepareCallback(messageBody, state, errorCode, transport) {
-
+ _response.responseBody = messageBody;
if (state == "messageReceived") {
- if (_trackMessageSize(messageBody, _request, _response)) return;
+ if (_trackMessageSize(messageBody, _request, _response)) {
+ return;
+ }
}
_response.transport = transport;
_response.status = errorCode;
_response.state = state;
- _response.responseBody = messageBody;
_invokeCallback();
}