var that = this;
var M = mkws.M;
- $(this.node).html('\
-<div class="mkwsBytarget mkwsTeam_' + this.team.name() + '">\
-No information available yet.\
-</div>');
+ $(this.node).html('No information available yet.');
$(this.node).css("display", "none");
this.team.queue("targets").subscribe(function(data) {
}
table += '</tbody></table>';
- var subnode = $(that.node).children('.mkwsBytarget');
- subnode.html(table);
+ $(that.node).html(table);
});
});
for(var i = firstClkbl; i <= lastClkbl; i++) {
var numLabel = i;
if(i == currentPage)
- numLabel = '<span class="mkwsSelected">' + i + '</span>';
+ numLabel = '<span class="mkwsCurrentPage">' + i + '</span>';
middle += '<a href="#" onclick="mkws.showPage(\'' + teamName + '\', ' + i + ')"> '
+ numLabel + ' </a>';
mkws.registerWidgetType('SearchForm', function() {
- var team = this.team;
+ var team = this.team;
$(this.node).submit(function() {
var val = team.widget('Query').value();
team.newSearch(val);
var that = this;
var M = mkws.M;
- var s = '<form name="mkwsSelect" class="mkwsSelect mkwsTeam_' + tname + '" action="" >';
+ var s = '<form>';
if (this.config.show_sort) {
s += M('Sort by') + ' ' + mkwsHtmlSort() + ' ';
}