projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
replaced guar with info command and add user double click to obtain the same result
[brisk.git]
/
web
/
commons.js
diff --git
a/web/commons.js
b/web/commons.js
index
c42fc7b
..
b3c6138
100644
(file)
--- a/
web/commons.js
+++ b/
web/commons.js
@@
-358,7
+358,12
@@
function chatt_checksend(obj,e)
}
function act_chatt(value)
{
}
function act_chatt(value)
{
- send_mesg("chatt|"+encodeURIComponent(value));
+ if (value.substring(0, 6) == "/info ") {
+ show_user_info(value.substring(6));
+ }
+ else {
+ send_mesg("chatt|"+encodeURIComponent(value));
+ }
/*
obj.disabled = true;
obj.value = "";
/*
obj.disabled = true;
obj.value = "";