summaryrefslogtreecommitdiff
path: root/searx/plugins/search_on_category_select.py
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2015-04-12 19:27:48 +0200
committerAdam Tauber <asciimoo@gmail.com>2015-04-12 19:27:48 +0200
commit973c97c85b493bf142bd1b903cf9bf8931fcfbad (patch)
tree95be510a211652b6b96472ccbd03c3b8949d29f3 /searx/plugins/search_on_category_select.py
parentdd84814b68369e36d6be20bae707848a051a025a (diff)
[enh] new plugin: search on category select (currently only in oscar theme)
TODO purge mootools from default/courgette and integrate jquery ++ this theme
Diffstat (limited to 'searx/plugins/search_on_category_select.py')
-rw-r--r--searx/plugins/search_on_category_select.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/searx/plugins/search_on_category_select.py b/searx/plugins/search_on_category_select.py
new file mode 100644
index 000000000..3b01ce5b5
--- /dev/null
+++ b/searx/plugins/search_on_category_select.py
@@ -0,0 +1,6 @@
+from flask.ext.babel import gettext
+name = 'Search on category select'
+description = gettext('Perform search immediately if a category selected')
+default_on = False
+
+js_dependencies = ('js/search_on_category_select.js',)