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
findnode() takes optional second argument teamName
[mkws-moved-to-github.git]
/
tools
/
htdocs
/
mkws.js
diff --git
a/tools/htdocs/mkws.js
b/tools/htdocs/mkws.js
index
d7d7951
..
aeb0d12
100644
(file)
--- a/
tools/htdocs/mkws.js
+++ b/
tools/htdocs/mkws.js
@@
-275,7
+275,8
@@
function team($, teamName) {
// Finds the node of the specified class within the current team
// Finds the node of the specified class within the current team
- function findnode(selector) {
+ function findnode(selector, teamName) {
+ teamName ||= m_teamName;
return $(selector + '.mkwsTeam_' + m_teamName);
}
return $(selector + '.mkwsTeam_' + m_teamName);
}