X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fcommons.js;h=091325c47d9202cb17e43ec14c6677729070521b;hb=094ceeb2b4059cd147b1d77a3010a974f301df01;hp=2eb5e01401ab01d173e595a9800fb6e261fb5d5d;hpb=42c38afc646130a6b03ccda87d06b761fda63bf2;p=brisk.git diff --git a/web/commons.js b/web/commons.js index 2eb5e01..091325c 100644 --- a/web/commons.js +++ b/web/commons.js @@ -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);