X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fcommons.js;h=f0ea078285bce1f6d60f5991739c395ee393173d;hb=2a82f64f7c99c99b0c38fa2911ddfda0b6609ae7;hp=d5c0c42e05416c00d2ff0a2e440fc24b75c29c7d;hpb=92c5ac9505608504a33b757a2f0f1c1a0fcd86ad;p=brisk.git diff --git a/web/commons.js b/web/commons.js index d5c0c42..f0ea078 100644 --- a/web/commons.js +++ b/web/commons.js @@ -250,7 +250,6 @@ function send_mesg(mesg) // alert("xhr_wr: "+xhr_wr+" is_conn: "+is_conn); xhr_wr.open('GET', 'index_wr.php?'+(is_conn ? 'sess='+sess+'&' : '')+'mesg='+mesg, (is_conn ? true : false)); xhr_wr.onreadystatechange = function() { return; }; - console.log(typeof(g_debug)); if (typeof(g_debug) == 'number' && g_debug > 0 && typeof(console) == 'object' && typeof(console.log) == 'function') { var ldate = new Date(); @@ -330,6 +329,11 @@ function act_chatt(value) } /* Stat: ROOM */ +function act_ping() +{ + send_mesg("ping"); +} + function act_sitdown(table) { send_mesg("sitdown|"+table);