projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Log refactoring, the_end field added, check to avoid multiple table_wakeup.
[brisk.git]
/
web
/
commons.js
diff --git
a/web/commons.js
b/web/commons.js
index
8320845
..
091325c
100644
(file)
--- a/
web/commons.js
+++ b/
web/commons.js
@@
-22,6
+22,7
@@
var PLAYERS_N = 3;
var EXIT_BAN_TIME = 900;
var PLAYERS_N = 3;
var EXIT_BAN_TIME = 900;
+var cookiepath = "/brisk/";
function $(id) { return document.getElementById(id); }
function $(id) { return document.getElementById(id); }
@@
-176,8
+177,7
@@
function send_mesg(mesg)
var xhr_wr = createXMLHttpRequest();
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+(g_is_spawn == 1 ? '&table_idx='+g_table_idx : '')+'&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);
xhr_wr.onreadystatechange = function() { return; };
xhr_wr.send(null);