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() + ' ';
}