From 76361775a348de9e014b59e21dbe444cdb8467ba Mon Sep 17 00:00:00 2001 From: zsloan Date: Tue, 2 Jan 2024 20:10:01 +0000 Subject: Make Group Info button point to info.genenetwork.org --- gn2/wqflask/static/new/javascript/dataset_select_menu_orig.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'gn2/wqflask') 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); -- cgit v1.2.3