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
my_onterm() made team-aware
[mkws-moved-to-github.git]
/
tools
/
htdocs
/
mkws.js
diff --git
a/tools/htdocs/mkws.js
b/tools/htdocs/mkws.js
index
9f6c7b2
..
0d5868e
100644
(file)
--- a/
tools/htdocs/mkws.js
+++ b/
tools/htdocs/mkws.js
@@
-309,12
+309,12
@@
function team($, teamName) {
debug("term for " + teamName);
// no facets
if (!mkws_config.facets || mkws_config.facets.length == 0) {
debug("term for " + teamName);
// no facets
if (!mkws_config.facets || mkws_config.facets.length == 0) {
- $("#mkwsTermlists").hide();
+ $(".mkwsTermlists.mkwsTeam_" + teamName).hide();
return;
}
// display if we first got results
return;
}
// display if we first got results
- $("#mkwsTermlists").show();
+ $(".mkwsTermlists.mkwsTeam_" + teamName).show();
var acc = [];
acc.push('<div class="title">' + M('Termlists') + '</div>');
var acc = [];
acc.push('<div class="title">' + M('Termlists') + '</div>');
@@
-332,7
+332,7
@@
function team($, teamName) {
}
}
}
}
- var termlist = $("#mkwsTermlists");
+ var termlist = $(".mkwsTermlists.mkwsTeam_" + teamName);
if (termlist)
termlist.html(acc.join(''));
}
if (termlist)
termlist.html(acc.join(''));
}