]> code.citadel.org Git - citadel.git/blobdiff - webcit/static/instant_messenger.html
* When using the javascript instant messenger screen, transmit outgoing messages...
[citadel.git] / webcit / static / instant_messenger.html
index 4af6387be3f05416d679cb9c37114fcc6f913964..b86cb5a62e8293d0f93dcfb2e44d55372226847f 100644 (file)
@@ -55,8 +55,9 @@ function SendSomething(which_div, sendform, recipient) {
 
        // Send the text to the server
        parms = 'r=' + Math.random()
-               + '&g_cmd=SEXP ' + recipient + '|-\n' + escape(thetext);
-       new Ajax.Request('../ajax_servcmd',
+               + '&recp=' + recipient
+               + '&msg=' + escape(thetext);
+       new Ajax.Request('../ajax_send_instant_message',
                {
                        method: 'post',
                        parameters: parms