Part of ACREP-80: new 'widget' parameter to team.newSearch
[mkws-moved-to-github.git] / src / mkws-widget-main.js
index b218a95..2d47617 100644 (file)
@@ -288,7 +288,7 @@ mkws.registerWidgetType('search-form', function() {
   var team = this.team;
   this.node.submit(function() {
     var val = team.widget('query').value();
-    team.newSearch(val);
+    team.newSearch(this, val);
     return false;
   });
 });