Skip to content

Commit

Permalink
Fix for #597 messageLength of next message is glued after current one…
Browse files Browse the repository at this point in the history
… in IE
  • Loading branch information
jfarcand committed Sep 10, 2012
1 parent fa1555e commit d19c760
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions modules/jquery/src/main/webapp/jquery/jquery.atmosphere.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ jQuery.atmosphere = function() {
var _response = {
status: 200,
responseBody : '',
expectedBodySize : -1,
headers : [],
state : "messageReceived",
transport : "polling",
Expand Down Expand Up @@ -2021,11 +2020,6 @@ jQuery.atmosphere = function() {

_response.transport = transport;
_response.status = errorCode;

// If not -1, we have buffered the message.
if (_response.expectedBodySize == -1) {
_response.responseBody = messageBody;
}
_response.state = state;

_invokeCallback();
Expand Down

0 comments on commit d19c760

Please sign in to comment.