Update documentation of newSearch method to reflect newish "widget" parameter.
[mkws-moved-to-github.git] / src / mkws-widget.js
index 45b0b40..566f604 100644 (file)
@@ -114,10 +114,7 @@ mkws.makeWidget = function($, team, type, node) {
         // them in in the subclass, as widget.autosearch is called in
         // the superclass, before the subclass fiddles with the
         // configuration.
-        var torusquery = undefined;
-        var target = that.config.target;
-        if (target) torusquery = 'udb=="' + target + '"';
-        that.team.newSearch(that, query, undefined, undefined, undefined, undefined, undefined, torusquery);
+        that.team.newSearch(that, query);
       });
     }
   };