Added onDisconnect call if long poll is interrupted

This commit is contained in:
Guillermo Rauch
2010-08-31 19:39:50 -07:00
parent 56ee90d0bd
commit 6731b2d779
2 changed files with 4 additions and 0 deletions

View File

@@ -583,6 +583,8 @@ if ('jQuery' in this) jQuery.io = this.io;
if (status == 200){
if (self._xhr.responseText.length) self._onData(self._xhr.responseText);
self._get();
} else {
self._onDisconnect();
}
}
};