if (type === 'Targets') {
promoteTargets();
+ team.debug("made targets widget(node=" + node + ")");
} else if (type === 'Stat') {
promoteStat();
+ team.debug("made stat widget(node=" + node + ")");
} else if (type === 'Termlists') {
promoteTermlists();
+ team.debug("made termlists widget(node=" + node + ")");
} else if (type === 'Pager') {
promotePager();
+ team.debug("made pager widget(node=" + node + ")");
} else if (type === 'Records') {
promoteRecords();
+ team.debug("made records widget(node=" + node + ")");
} else {
// ### Handle other types here
+ team.debug("made unencapsulated widget(type=" + type + ", node=" + node + ")");
}
- team.debug("made widget(type=" + type + ", node=" + node);
return that;
// 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(''));
var details = template(data);
return '<div class="details" id="mkwsDet_' + m_teamName + '_' + data.recid + '">' + details + '</div>';
}
+ that.renderDetails = renderDetails;
function loadTemplate(name)