Log refactoring, the_end field added, check to avoid multiple table_wakeup.
[brisk.git] / web / commons.js
index 2eb5e01..091325c 100644 (file)
@@ -22,6 +22,7 @@
 
 var PLAYERS_N = 3;
 var EXIT_BAN_TIME = 900;
+var cookiepath = "/brisk/";
 
 function $(id) { return document.getElementById(id); }
 
@@ -174,8 +175,9 @@ function createXMLHttpRequest() {
 function send_mesg(mesg)
 {
     var xhr_wr = createXMLHttpRequest();
-    // xhr_wr.open('GET', 'index_wr.php?sess='+sess+'&mesg='+encodeURIComponent(mesg), true);
-    xhr_wr.open('GET', 'index_wr.php?sess='+sess+'&mesg='+mesg, true);
+
+    
+    xhr_wr.open('GET', 'index_wr.php?sess='+sess+'&mesg='+encodeURIComponent(mesg), true);
     xhr_wr.onreadystatechange = function() { return; };
     xhr_wr.send(null);