From 3af320e379c7053b6a5232a895193c1d058192c3 Mon Sep 17 00:00:00 2001 From: DannyArends Date: Wed, 8 Feb 2017 09:33:12 +0100 Subject: Deadly Sin #1 changing the javascript without touching the coffeescript which generates this javascript, since we're down the rabbit hole aready I'm just gonna join. CHristian will try n figure out how deep the rabbit hole goes. --- .../static/new/javascript/show_trait_mapping_tools.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/wqflask/wqflask/static/new/javascript/show_trait_mapping_tools.js b/wqflask/wqflask/static/new/javascript/show_trait_mapping_tools.js index e9db0a12..a02fdb32 100644 --- a/wqflask/wqflask/static/new/javascript/show_trait_mapping_tools.js +++ b/wqflask/wqflask/static/new/javascript/show_trait_mapping_tools.js @@ -220,6 +220,25 @@ }; })(this)); + + $("#phewas_compute").on("click", (function(_this) { + return function() { + return submit_special("/phewas"); + }; + })(this)); + + $("#ephewas_compute").on("click", (function(_this) { + return function() { + return submit_special("/ephewas"); + }; + })(this)); + + $("#mediation_compute").on("click", (function(_this) { + return function() { + return submit_special("/mediation"); + }; + })(this)); + $("#gemma_compute").on("click", (function(_this) { return function() { var form_data, url; -- cgit v1.2.3