aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDannyArends2017-02-08 09:33:12 +0100
committerDannyArends2017-02-08 09:33:12 +0100
commit3af320e379c7053b6a5232a895193c1d058192c3 (patch)
treec811761f0813fb4658b93d427b0ad5c27fb30553
parent7315884db2675b2375d1c53587f58089c28d490d (diff)
downloadgenenetwork2-3af320e379c7053b6a5232a895193c1d058192c3.tar.gz
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.
-rw-r--r--wqflask/wqflask/static/new/javascript/show_trait_mapping_tools.js19
1 files changed, 19 insertions, 0 deletions
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;