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:
70c0eb1
)
Make renderDetails() available as team member-function.
author
Mike Taylor
<mike@indexdata.com>
Thu, 20 Mar 2014 09:49:18 +0000
(09:49 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Thu, 20 Mar 2014 09:49:18 +0000
(09:49 +0000)
tools/htdocs/mkws.js
patch
|
blob
|
history
diff --git
a/tools/htdocs/mkws.js
b/tools/htdocs/mkws.js
index
c506ccf
..
0ff94ff
100644
(file)
--- a/
tools/htdocs/mkws.js
+++ b/
tools/htdocs/mkws.js
@@
-360,7
+360,7
@@
function widget($, team, type, node) {
// from the team object into this widget.
if (hit.recid == team.currentRecordId()) {
if (team.currentRecordData())
// from the team object into this widget.
if (hit.recid == team.currentRecordId()) {
if (team.currentRecordData())
- html.push(renderDetails(team.currentRecordData()));
+ html.push(team.renderDetails(team.currentRecordData()));
}
}
$(node).html(html.join(''));
}
}
$(node).html(html.join(''));
@@
-1074,6
+1074,7
@@
function team($, teamName) {
var details = template(data);
return '<div class="details" id="mkwsDet_' + m_teamName + '_' + data.recid + '">' + details + '</div>';
}
var details = template(data);
return '<div class="details" id="mkwsDet_' + m_teamName + '_' + data.recid + '">' + details + '</div>';
}
+ that.renderDetails = renderDetails;
function loadTemplate(name)
function loadTemplate(name)