projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3e4a88
)
Template nodes are found using widgetNode.
author
Mike Taylor
<mike@indexdata.com>
Wed, 16 Apr 2014 11:10:49 +0000
(12:10 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Wed, 16 Apr 2014 11:11:00 +0000
(12:11 +0100)
src/mkws-team.js
patch
|
blob
|
history
diff --git
a/src/mkws-team.js
b/src/mkws-team.js
index
38b8507
..
f956e55
100644
(file)
--- a/
src/mkws-team.js
+++ b/
src/mkws-team.js
@@
-641,9
+641,9
@@
function team($, teamName) {
if (template === undefined) {
// Fall back to generic template if there is no team-specific one
- var node = findnode(".mkwsTemplate_" + name);
+ var node = widgetNode("Template_" + name);
if (!node.length) {
- node = findnode(".mkwsTemplate_" + name, "ALL");
+ node = widgetNode("Template_" + name, "ALL");
}
var source = node.html();