All invocations of widget.autosearch(w) changed to w.autosearch()
authorMike Taylor <mike@indexdata.com>
Wed, 28 May 2014 14:33:40 +0000 (15:33 +0100)
committerMike Taylor <mike@indexdata.com>
Wed, 28 May 2014 14:33:40 +0000 (15:33 +0100)
examples/htdocs/mkws-widget-ru.js
src/mkws-widget-main.js
src/mkws-widget-termlists.js

index 5185d05..c358f8f 100644 (file)
@@ -29,5 +29,5 @@ mkws.registerWidgetType('ReferenceUniverse', function() {
   this.team.queue("records").subscribe(function(data) {
     that.node.html(template(data));
   }); 
-  widget.autosearch(that);
+  that.autosearch();
 });
index 07243e7..5951c1c 100644 (file)
@@ -140,7 +140,7 @@ mkws.registerWidgetType('Records', function() {
     }
   });
 
-  widget.autosearch(that);
+  that.autosearch();
 });
 
 
@@ -265,7 +265,7 @@ mkws.registerWidgetType('Results', function() {
   </tr>\
 </table>');
 
-  widget.autosearch(this);
+  this.autosearch();
 });
 
 
index acd9dcf..b16d60c 100644 (file)
@@ -17,7 +17,7 @@ mkws.registerWidgetType('Termlists', function() {
   }
   this.node.html(acc.join(''));
 
-  widget.autosearch(this);
+  this.autosearch();
 });