b8a609a2 by Ean Schuessler

Merge branch 'BF-5167' of /home/git/repositories/brainfood/ofbiz-comet-messenger

2 parents ba90b750 7275f269
......@@ -10,6 +10,9 @@ define([], function() {
request.onreadystatechange = function() {
if (request.readyState == 3 || request.readyState == 4) {
if (request.status == 200){
if (request.onreadystatechange) {
request.onreadystatechange = null;
}
if (request.responseText) {
var newText = request.responseText.substr(responseLength);
if (newText.length > 0) {
......