aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2021-08-17 20:20:15 +0000
committerzsloan2021-08-19 18:38:54 +0000
commit367e6c2d49284942e1ddfc3da192cffaee2a78f3 (patch)
treef69253decc47ad0e1ffee74d3815f838d7f58616 /wqflask
parent9f3baccf902caff4338c72c508bfab52b472bc3a (diff)
downloadgenenetwork2-367e6c2d49284942e1ddfc3da192cffaee2a78f3.tar.gz
Removed ID of 'submit' from the button in the cofactor select table, since it was causing trait page forms to not submit after opening it
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/static/new/javascript/get_covariates_from_collection.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/wqflask/static/new/javascript/get_covariates_from_collection.js b/wqflask/wqflask/static/new/javascript/get_covariates_from_collection.js
index 62590aaf..9aa9553c 100644
--- a/wqflask/wqflask/static/new/javascript/get_covariates_from_collection.js
+++ b/wqflask/wqflask/static/new/javascript/get_covariates_from_collection.js
@@ -211,7 +211,7 @@ process_traits = function(trait_data, textStatus, jqXHR) {
console.log('in process_traits with trait_data:', trait_data);
the_html = "<button id='back_to_collections' class='btn btn-inverse btn-small'>";
the_html += "<i class='icon-white icon-arrow-left'></i> Back </button>";
- the_html += " <button id='submit' class='btn btn-primary btn-small'> Submit </button>";
+ the_html += " <button class='btn btn-primary btn-small submit'> Submit </button>";
the_html += "<table id='collection_table' style='padding-top: 10px;' class='table table-hover'>";
the_html += "<thead><tr><th></th><th>Record</th><th>Data Set</th><th>Description</th></tr></thead>";
the_html += "<tbody>";
@@ -244,6 +244,6 @@ back_to_collections = function() {
};
$(".collection_line").on("click", collection_click);
-$("#submit").on("click", submit_click);
+$(".submit").on("click", submit_click);
$(".trait").on("click", trait_click);
$("#back_to_collections").on("click", back_to_collections);