aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/static/new
diff options
context:
space:
mode:
authorzsloan2024-01-02 20:10:01 +0000
committerzsloan2024-01-02 20:10:01 +0000
commit76361775a348de9e014b59e21dbe444cdb8467ba (patch)
treece9f2e3edaeec5eadbbe6db9f54d28fd0d119b81 /gn2/wqflask/static/new
parent7c3c07a371de310215e416abaef3186436742e31 (diff)
downloadgenenetwork2-76361775a348de9e014b59e21dbe444cdb8467ba.tar.gz
Make Group Info button point to info.genenetwork.org
Diffstat (limited to 'gn2/wqflask/static/new')
-rw-r--r--gn2/wqflask/static/new/javascript/dataset_select_menu_orig.js8
1 files changed, 3 insertions, 5 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 f962cb41..2875eabd 100644
--- a/gn2/wqflask/static/new/javascript/dataset_select_menu_orig.js
+++ b/gn2/wqflask/static/new/javascript/dataset_select_menu_orig.js
@@ -251,11 +251,9 @@ open_window = function(url, name) {
};
group_info = function() {
- var group, species, url;
- species = $('#species').val();
- group = $('#group').val();
- url = "http://gn1.genenetwork.org/" + species + "Cross.html#" + group;
- return open_window(url, "_blank");
+ $('input[name=accession_id]').val("None");
+ $('#searchform').prop("action", "/db_info");
+ $('#searchform').submit();
};
$('#group_info').click(group_info);