]> code.citadel.org Git - citadel.git/blobdiff - webcit/static/instant_messenger.html
* move some more vars from the session context to strbuf (the use of StrBufAppendTemp...
[citadel.git] / webcit / static / instant_messenger.html
index 1db2b4a2e3a8ddd8dc4f69cc3844e7a9868a9b7a..0ecdcc772d6c99622e1266fa3cba86451e868a5d 100644 (file)
@@ -47,10 +47,10 @@ function SendSomething(which_div, sendform, recipient) {
 
        // Send the text to the server
        parms = 'r=' + Math.random()
-               + '&g_cmd=SEXP ' + recipient + '|' + thetext;
+               + '&g_cmd=SEXP ' + recipient + '|-\n' + escape(thetext);
        new Ajax.Request('../ajax_servcmd',
                {
-                       method: 'get',
+                       method: 'post',
                        parameters: parms
                }
        );
@@ -123,7 +123,7 @@ function ShowNewMsg(gexp_xmlresponse) {
                        + 'onSubmit=\"return SendSomething(\'' + which_div + '\', \'sendform_'
                        + which_div + '\', \'' + sender + '\');\">'
                        + '<img src=\"citadelchat_16x.gif\">&nbsp;'
-                       + '<input type=\"text\" size=\"72\" maxlength=\"72\" name=\"sendthis\">'
+                       + '<input type=\"text\" size=\"72\" maxlength=\"600\" name=\"sendthis\">'
                        + '</form>'
                        + '<br></div>'
                        + '</div>\n';