function widgetNode(type) {
var w = that.widget(type);
- return w ? $(w.node) : undefined;
+ return w ? w.jqnode : undefined;
}
function renderDetails(data, marker) {
that.addWidget = function(w) {
if (m_widgets[w.type] === undefined) {
m_widgets[w.type] = [ w ];
- log("Added '" + w.type + "' widget to team '" + m_teamName + "'");
} else {
m_widgets[w.type].push(w);
- log("Added '" + w.type + "' widget #" + m_widgets[w.type].length + "' to team '" + m_teamName + "'");
}
}