diff options
Diffstat (limited to 'gn2/wqflask/static')
-rw-r--r-- | gn2/wqflask/static/new/javascript/dataset_select_menu_orig.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gn2/wqflask/static/new/javascript/dataset_select_menu_orig.js b/gn2/wqflask/static/new/javascript/dataset_select_menu_orig.js index 2875eabd..4310c4a8 100644 --- a/gn2/wqflask/static/new/javascript/dataset_select_menu_orig.js +++ b/gn2/wqflask/static/new/javascript/dataset_select_menu_orig.js @@ -329,3 +329,8 @@ $("#make_default").click(make_default); $("#btsearch").click(function() { $("#searchform").prop("action", "/search") }); + +$("#xapianSearch").click(function() { + $("input[name='search_type']").val("xapian") + $("#searchform").prop("action", "/search") +}); |