* move some more vars from the session context to strbuf (the use of StrBufAppendTemp...
[citadel.git] / webcit / static / instant_messenger.html
index a78fc57cd388354dbf0a17b898fc62ce46e5c762..0ecdcc772d6c99622e1266fa3cba86451e868a5d 100644 (file)
@@ -47,7 +47,7 @@ function SendSomething(which_div, sendform, recipient) {
 
        // Send the text to the server
        parms = 'r=' + Math.random()
-               + '&g_cmd=SEXP ' + recipient + '|-&g_input=' + encodeURIComponent(thetext);
+               + '&g_cmd=SEXP ' + recipient + '|-\n' + escape(thetext);
        new Ajax.Request('../ajax_servcmd',
                {
                        method: 'post',