projects
/
mkws-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
stat event-queueing is per-team.
[mkws-moved-to-github.git]
/
tools
/
htdocs
/
mkws.js
diff --git
a/tools/htdocs/mkws.js
b/tools/htdocs/mkws.js
index
039ca55
..
ee05520
100644
(file)
--- a/
tools/htdocs/mkws.js
+++ b/
tools/htdocs/mkws.js
@@
-221,7
+221,7
@@
function widget($, team, type, node) {
function promoteStat() {
function promoteStat() {
- mkws.queue("stat").subscribe(function(data) {
+ mkws.queue("stat." + team.name()).subscribe(function(data) {
if (node.length === 0) alert("huh?!");
$(node).html('<span class="head">' + M('Status info') + '</span>' +
if (node.length === 0) alert("huh?!");
$(node).html('<span class="head">' + M('Status info') + '</span>' +
@@
-313,7
+313,7
@@
function team($, teamName) {
function onStat(data) {
debug("stat");
function onStat(data) {
debug("stat");
- mkws.queue("stat").publish(data);
+ mkws.queue("stat." + m_teamName).publish(data);
}
}