projects
/
mkws-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename maybeAutosearch function to autosearch.
[mkws-moved-to-github.git]
/
src
/
mkws-widgets.js
diff --git
a/src/mkws-widgets.js
b/src/mkws-widgets.js
index
435f378
..
bb529bf
100644
(file)
--- 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.
// 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!/)) {
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);
});
});