Disabled Connection: close in AJAX lib (throws error under Chrome 2.0)
authorDan
Wed, 27 May 2009 09:46:16 -0400
changeset 1007 2b77ebbf8701
parent 1006 ec33f6cb333d
child 1008 d21eef4f9e8c
Disabled Connection: close in AJAX lib (throws error under Chrome 2.0)
includes/clientside/static/functions.js
--- a/includes/clientside/static/functions.js	Wed May 27 09:45:54 2009 -0400
+++ b/includes/clientside/static/functions.js	Wed May 27 09:46:16 2009 -0400
@@ -158,7 +158,8 @@
   {
     ajax.setRequestHeader("Content-length", parms.length);
   }
-  ajax.setRequestHeader("Connection", "close");
+  // fails under chrome 2.0
+  // ajax.setRequestHeader("Connection", "close");
   ajax.send(parms);
   window.ajax = ajax;
 }