src/crypto.c: possible fix for memory leak related
[citadel.git] / webcit / static / instant_messenger.html
index 87f9ab533e7189db3c97409501a8e818e23c8a16..1db2b4a2e3a8ddd8dc4f69cc3844e7a9868a9b7a 100644 (file)
@@ -114,8 +114,11 @@ function ShowNewMsg(gexp_xmlresponse) {
                          $('main').innerHTML
                        + '<div id=\"tab_' + which_div + '\" style=\"display:none;cursor:pointer\">'
                        + '<div id=\"' + which_div + '\">'
+                       + '<br /><br /><br /><br /><br /><br /><br /><br /><br /><br />'
+                       + '<br /><br /><br /><br /><br /><br /><br /><br /><br /><br />'
                        + '</div>'
-                       + '<div id=\"response_' + which_div + '\" style=\"background:#ddddee\">'
+                       + '<div align=\"center\" id=\"response_'
+                       + which_div + '\" style=\"background:#ddddee\">'
                        + '<br><form method=\"post\" action=\"null\" name=\"sendform_' + which_div + '\" '
                        + 'onSubmit=\"return SendSomething(\'' + which_div + '\', \'sendform_'
                        + which_div + '\', \'' + sender + '\');\">'
@@ -197,7 +200,7 @@ function GrabMyName(greg_xmlresponse) {
 
 
 // Cause FetchNewMsgs() to be called periodically.
-new PeriodicalExecuter(FetchNewMsgs, 5);
+new PeriodicalExecuter(FetchNewMsgs, 10);
 
 </script>