aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates/index_page.html
diff options
context:
space:
mode:
Diffstat (limited to 'gn2/wqflask/templates/index_page.html')
-rwxr-xr-xgn2/wqflask/templates/index_page.html7
1 files changed, 3 insertions, 4 deletions
diff --git a/gn2/wqflask/templates/index_page.html b/gn2/wqflask/templates/index_page.html
index 7b5a1d16..a245b7f3 100755
--- a/gn2/wqflask/templates/index_page.html
+++ b/gn2/wqflask/templates/index_page.html
@@ -203,7 +203,7 @@
<!-- SEARCH, MAKE DEFAULT -->
<div class="form-group">
</div>
-
+ <input type="hidden" name="accession_id" value="None" class="form-control">
<input type="hidden" name="FormID" value="searchResult" class="form-control">
</div>
</fieldset>
@@ -386,12 +386,11 @@ $(document).on('submit', '#searchform', function(event){
if( event.target.value.trim() != "" ) {
saveBeforeSubmit(event.target.value.trim())
- $("#searchform")[0].submit();
-
+ $("#searchform").prop("action", "/search")
+ $("#searchform")[0].submit();
}
}
}
-
</script>
{% endblock %}