aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates
diff options
context:
space:
mode:
authorzsloan2024-01-02 19:21:07 +0000
committerzsloan2024-01-02 19:21:37 +0000
commit7c3c07a371de310215e416abaef3186436742e31 (patch)
treedf37c75ecfe28672dd31356978760926767002a0 /gn2/wqflask/templates
parentecb83c962536bffe468767597da76b25c813be64 (diff)
downloadgenenetwork2-7c3c07a371de310215e416abaef3186436742e31.tar.gz
Change the way the info button works so that it just submits a form instead of opening a window with JS
Diffstat (limited to 'gn2/wqflask/templates')
-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 %}