(falling back to the old default of "Summary"). Allows multiple
records widgets to display different formats.
$(that.node).html(html.join(''));
function renderSummary(hit) {
$(that.node).html(html.join(''));
function renderSummary(hit) {
- var template = team.loadTemplate("Summary");
+ var template = team.loadTemplate(that.config.template || "Summary");
hit._id = team.recordElementId(hit.recid[0]);
hit._onclick = "mkws.showDetails('" + team.name() + "', '" + hit.recid[0] + "');return false;"
return template(hit);
hit._id = team.recordElementId(hit.recid[0]);
hit._onclick = "mkws.showDetails('" + team.name() + "', '" + hit.recid[0] + "');return false;"
return template(hit);