]> code.citadel.org Git - citadel.git/blobdiff - webcit/static/instant_messenger.html
Initial version of modal login is now working.
[citadel.git] / webcit / static / instant_messenger.html
index b86cb5a62e8293d0f93dcfb2e44d55372226847f..549e6a29475ef37ece52c4accc2de23e0ad4c284 100644 (file)
@@ -3,6 +3,7 @@
        <title>Citadel Instant Messenger</title>
        <script type="text/javascript" src="prototype.js"></script>
        <script type="text/javascript" src="wclib.js"></script>
+       <script type="text/javascript" src="authmethods.js"></script>
 </head>
 <body onLoad='FetchNewMsgs();'>
 
@@ -16,8 +17,7 @@
 
 <script type="text/javascript">
 /*
- * $Id: instant_messanger.html 7193 2009-03-07 17:24:58Z dothebart $
- * Copyright 2000 - 2009 The Citadel Team
+ * Copyright 2000 - 2010 The Citadel Team
  * Licensed under the GPL V3
  *
  * Chat window for Person 2 Person Chat
@@ -56,7 +56,7 @@ function SendSomething(which_div, sendform, recipient) {
        // Send the text to the server
        parms = 'r=' + Math.random()
                + '&recp=' + recipient
-               + '&msg=' + escape(thetext);
+               + '&msg=' + encodeURIComponent(thetext);
        new Ajax.Request('../ajax_send_instant_message',
                {
                        method: 'post',