projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
561b8b9
)
Rename maybeAutosearch function to autosearch.
author
Mike Taylor
<mike@indexdata.com>
Thu, 3 Apr 2014 15:50:17 +0000
(16:50 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Thu, 3 Apr 2014 15:50:17 +0000
(16:50 +0100)
src/mkws-widgets.js
patch
|
blob
|
history
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.
-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);
});