aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);