diff options
Diffstat (limited to 'WebContent')
-rw-r--r-- | WebContent/VAADIN/jquery.atmosphere.js | 7 |
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(); } |