Search-form widget now correctly passes the widget object into
team.newsearch, rather than the DOM object associated with it.
mkws.registerWidgetType('search-form', function() {
var team = this.team;
mkws.registerWidgetType('search-form', function() {
var team = this.team;
this.node.submit(function() {
var val = team.widget('query').value();
this.node.submit(function() {
var val = team.widget('query').value();
- team.newSearch(this, val);
+ team.newSearch(that, val);