var m_paz; // will be initialised below
var m_template = {};
+ that.toString = function() { return '[Team ' + teamName + ']'; }
// Accessor methods for individual widgets: readers
that.name = function() { return m_teamName; }
}
- // Used by promoteRecords() and onRecord()
+ // Used by the Records widget and onRecord()
function recordElementId(s) {
return 'mkwsRec_' + s.replace(/[^a-z0-9]/ig, '_');
}
function recordDetailsId(s) {
return 'mkwsDet_' + s.replace(/[^a-z0-9]/ig, '_');
}
- that.recordElementId = recordElementId;
that.targetFiltered = function(id) {
return s + '.mkwsTeam_' + teamName;
}).join(',');
- return $(selector);
+ var node = $(selector);
+ //log('findnode(' + selector + ') found ' + node.length + ' nodes');
+ return node;
}