projects
/
brisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
fc404a3
)
update 'ws_msg' content
v5.6.0
author
Matteo Nastasi
<nastasi@alternativeoutput.it>
Sun, 29 Mar 2020 18:26:34 +0000
(20:26 +0200)
committer
Matteo Nastasi
<nastasi@alternativeoutput.it>
Sun, 29 Mar 2020 18:26:34 +0000
(20:26 +0200)
web/commons.js
patch
|
blob
|
history
diff --git
a/web/commons.js
b/web/commons.js
index
c65dd51
..
62d3330
100644
(file)
--- 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 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 {
xstm.transp.ws.send(ws_msg);
}
else {