Index: openacs-4/packages/xowiki/www/ajax/chat.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/www/ajax/Attic/chat.js,v diff -u -r1.6 -r1.7 --- openacs-4/packages/xowiki/www/ajax/chat.js 13 Sep 2012 16:05:33 -0000 1.6 +++ openacs-4/packages/xowiki/www/ajax/chat.js 17 Feb 2013 11:48:06 -0000 1.7 @@ -2,14 +2,7 @@ // $Id$ // -gustaf neumann April 2006 -function receiver1() { - if (http.readyState == 4) { - // alert('status code =' + http.status); - if (http.status != 200) { - alert('Something wrong in HTTP request, status code = ' + http.status); - } - } -} +var http = getHttpObject(); function chatReceiver() { if (http.readyState == 4) {