projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
change server_request() signature
[brisk.git]
/
web
/
info.js
diff --git
a/web/info.js
b/web/info.js
index
1d4e197
..
35058fb
100644
(file)
--- a/
web/info.js
+++ b/
web/info.js
@@
-58,7
+58,7
@@
function info_fld(dobj)
function info_show(username)
{
function info_show(username)
{
- var info_in_in = server_request('mesg', 'chatt|/info ' +
+ var info_in_in = server_request('
index_wr.php', sess, '
mesg', 'chatt|/info ' +
encodeURIComponent(username));
var info_in = JSON.parse(info_in_in);
var info = null;
encodeURIComponent(username));
var info_in = JSON.parse(info_in_in);
var info = null;
@@
-101,7
+101,7
@@
function info_save()
info = info_fld($('info'));
jinfo = info.dom2json();
info = info_fld($('info'));
jinfo = info.dom2json();
- ret = server_request('mesg', 'info|save','__POST__', 'info', JSON.stringify(jinfo));
+ ret = server_request('
index_wr.php', sess, '
mesg', 'info|save','__POST__', 'info', JSON.stringify(jinfo));
if (ret == 1) {
$('info').style.visibility = 'hidden';
if (ret == 1) {
$('info').style.visibility = 'hidden';