]> code.citadel.org Git - citadel.git/blobdiff - webcit/static/instant_messenger.html
* streamline copyright statements; add Conclusion of included components; flip to...
[citadel.git] / webcit / static / instant_messenger.html
index a78fc57cd388354dbf0a17b898fc62ce46e5c762..4af6387be3f05416d679cb9c37114fcc6f913964 100644 (file)
 <div id="main" style="position:fixed;width:100%;height:85%;top:15%;left:0%;overflow:auto;background:#ffffff"></div>
 
 <script type="text/javascript">
+/*
+ * $Id: instant_messanger.html 7193 2009-03-07 17:24:58Z dothebart $
+ * Copyright 2000 - 2009 The Citadel Team
+ * Licensed under the GPL V3
+ *
+ * Chat window for Person 2 Person Chat
+ *
+ */
 
 var gexp_divs = new Array();
 var num_gexp_divs = 0;
@@ -47,7 +55,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',