- $(this.node).html('\
-<div class="mkwsBytarget mkwsTeam_' + this.team.name() + '">\
-No information available yet.\
-</div>');
- $(this.node).css("display", "none");
+ this.jqnode.html('No information available yet.');
+ this.jqnode.css("display", "none");
- if (that.node.length === 0) alert("huh?!");
-
- $(that.node).html('<span class="head">' + M('Status info') + '</span>' +
- ' -- ' +
- '<span class="clients">' + M('Active clients') + ': ' + data.activeclients + '/' + data.clients + '</span>' +
+ that.jqnode.html(' -- ' +
+ '<span class="mkwsClientCount">' + M('Active clients') + ': ' + data.activeclients + '/' + data.clients + '</span>' +
- html.push('<div class="record mkwsTeam_' + team.name() + ' ' + divId + '">', renderSummary(hit), '</div>');
+ html.push('<div class="mkwsSummary mkwsTeam_' + team.name() + ' ' + divId + '">', renderSummary(hit), '</div>');
// ### At some point, we may be able to move the
// m_currentRecordId and m_currentRecordData members
// from the team object into this widget.
// ### At some point, we may be able to move the
// m_currentRecordId and m_currentRecordData members
// from the team object into this widget.
"', '" + id + "'" + ');return false;">' + name + '</a>';
});
filters.visitFields(function(field, value) {
if (text) text += " | ";
"', '" + id + "'" + ');return false;">' + name + '</a>';
});
filters.visitFields(function(field, value) {
if (text) text += " | ";
"', '" + field + "', '" + value + "'" +
');return false;">' + value + '</a>';
});
"', '" + field + "', '" + value + "'" +
');return false;">' + value + '</a>';
});
<a href="#" onclick="mkws.switchView(\'' + tname + '\', \'records\')">Records</a><span> \
| \
</span><a href="#" onclick="mkws.switchView(\'' + tname + '\', \'targets\')">Targets</a>');
<a href="#" onclick="mkws.switchView(\'' + tname + '\', \'records\')">Records</a><span> \
| \
</span><a href="#" onclick="mkws.switchView(\'' + tname + '\', \'targets\')">Targets</a>');
<form name="mkwsSearchForm" class="mkwsSearchForm mkwsTeam_' + tname + '" action="" >\
<input class="mkwsQuery mkwsTeam_' + tname + '" type="text" size="' + this.config.query_width + '" />\
<input class="mkwsButton mkwsTeam_' + tname + '" type="submit" value="' + M('Search') + '" />\
<form name="mkwsSearchForm" class="mkwsSearchForm mkwsTeam_' + tname + '" action="" >\
<input class="mkwsQuery mkwsTeam_' + tname + '" type="text" size="' + this.config.query_width + '" />\
<input class="mkwsButton mkwsTeam_' + tname + '" type="submit" value="' + M('Search') + '" />\
mkws.registerWidgetType('Results', function() {
var tname = this.team.name();
mkws.registerWidgetType('Results', function() {
var tname = this.team.name();
<table width="100%" border="0" cellpadding="6" cellspacing="0">\
<tr>\
<td class="mkwsTermlists-Container-wide mkwsTeam_' + tname + '" width="250" valign="top">\
<table width="100%" border="0" cellpadding="6" cellspacing="0">\
<tr>\
<td class="mkwsTermlists-Container-wide mkwsTeam_' + tname + '" width="250" valign="top">\
var sort_html = '<select class="mkwsSort mkwsTeam_' + tname + '">';
for(var i = 0; i < that.config.sort_options.length; i++) {
var sort_html = '<select class="mkwsSort mkwsTeam_' + tname + '">';
for(var i = 0; i < that.config.sort_options.length; i++) {
var perpage_html = '<select class="mkwsPerpage mkwsTeam_' + tname + '">';
for(var i = 0; i < that.config.perpage_options.length; i++) {
var perpage_html = '<select class="mkwsPerpage mkwsTeam_' + tname + '">';
for(var i = 0; i < that.config.perpage_options.length; i++) {
var container = this.team.widget('MOTDContainer');
if (container) {
// Move the MOTD from the provided element down into the container
var container = this.team.widget('MOTDContainer');
if (container) {
// Move the MOTD from the provided element down into the container