X-Git-Url: https://mop.ddnsfree.com/gitweb/?p=brisk.git;a=blobdiff_plain;f=web%2Fcommons.js;h=62d33306cb648f27ebbdadb32c8ba6a5dafd1fdd;hp=c65dd51a7e2cb1b46753ffa311b1b75415018ac9;hb=f8605f6d02dc4b8f69a74f6aaafd770a033a8840;hpb=fc404a3ac3820257e88fd5198b4c440cb178fa1f diff --git a/web/commons.js b/web/commons.js index c65dd51..62d3330 100644 --- a/web/commons.js +++ b/web/commons.js @@ -274,8 +274,16 @@ function send_mesg(mesg, content) } var target = window.location.href.substring(0, window.location.href.lastIndexOf('/') + 1) + 'index_wr.php'; - var ws_msg = JSON.stringify({target: target, mesg: mesg, stp:gst.st, sess:sess}); - console.log(ws_msg); + var ws_msg = JSON.stringify({ + target: target, + mesg: mesg, + stp:gst.st, + sess:sess, + table_idx: readCookie("table_idx"), + table_token: readCookie("table_token"), + lang: readCookie("lang") + }); + // console.log(ws_msg); xstm.transp.ws.send(ws_msg); } else {