From 6d6a22d592ec6f55a74769d5b9a13aea7eadfc8b Mon Sep 17 00:00:00 2001 From: zsloan Date: Wed, 3 Jul 2024 20:55:37 +0000 Subject: Add link to GeneCup to tool buttons This also includes a function for converting a list of traits/datasets to symbols, which was added to trait.py --- gn2/wqflask/static/new/javascript/search_results.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gn2/wqflask/static/new') diff --git a/gn2/wqflask/static/new/javascript/search_results.js b/gn2/wqflask/static/new/javascript/search_results.js index 29050c2b..c89b4ce3 100644 --- a/gn2/wqflask/static/new/javascript/search_results.js +++ b/gn2/wqflask/static/new/javascript/search_results.js @@ -309,7 +309,7 @@ $(function() { return submit_special("/loading") }); - $("#send_to_webgestalt, #send_to_bnw, #send_to_geneweaver").on("click", function() { + $("#send_to_webgestalt, #send_to_bnw, #send_to_geneweaver, #send_to_genecup").on("click", function() { traits = getTraitsFromTable() $("#trait_list").val(traits) url = $(this).data("url") -- cgit v1.2.3