plugins/ajim/shoutbox.js
changeset 1 f7b24c744747
parent 0 db23957ad1c7
--- a/plugins/ajim/shoutbox.js	Sun Jan 11 21:38:42 2009 -0500
+++ b/plugins/ajim/shoutbox.js	Fri May 29 14:36:51 2009 -0400
@@ -21,7 +21,7 @@
 window.ajim_send_request = function(request)
 {
   request = ajaxEscape(toJSONString(request));
-  ajaxPost(makeUrlNS('Special', 'AjimJson'), 'r=' + request, function()
+  ajaxPost(makeUrlNS('Special', 'AjimJson'), 'r=' + request, function(ajax)
     {
       if ( ajax.readyState == 4 && ajax.status == 200 )
       {
@@ -34,7 +34,7 @@
         response = parseJSON(response);
         ajim_handle_response(response);
       }
-    });
+    }, true);
 }
 
 window.ajim_handle_invalid_json = function(response)