From 7bf5eb4799d8f01f1a6038e9137eb0aa05d02d6c Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Thu, 3 Apr 2014 16:50:17 +0100 Subject: [PATCH] Rename maybeAutosearch function to autosearch. --- src/mkws-widgets.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mkws-widgets.js b/src/mkws-widgets.js index 435f378..bb529bf 100644 --- a/src/mkws-widgets.js +++ b/src/mkws-widgets.js @@ -60,7 +60,7 @@ function widget($, team, type, node) { // Utility function for use by all widgets that can invoke autosearch. -widget.maybeAutosearch = function(widget) { +widget.autosearch = function(widget) { var query = widget.config.autosearch; if (query) { if (query.match(/^!param!/)) { @@ -214,7 +214,7 @@ mkws.registerWidgetType('Termlists', function() { } }); - widget.maybeAutosearch(that); + widget.autosearch(that); }); @@ -310,7 +310,7 @@ mkws.registerWidgetType('Records', function() { } }); - widget.maybeAutosearch(that); + widget.autosearch(that); }); -- 1.7.10.4