aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2021-02-01 11:57:30 -0600
committerzsloan2021-02-01 11:57:30 -0600
commitf5ffb1ad224b14b277847f62d14a90b15f261e4a (patch)
tree78119e297a0cd388a343b8886e4f8345ef01e2bb
parentf734559c5e8f30f2de7f471f735494ae8eab69bc (diff)
downloadgenenetwork2-f5ffb1ad224b14b277847f62d14a90b15f261e4a.tar.gz
Fixed bug that was causing trait page export to not work
-rw-r--r--wqflask/wqflask/static/new/javascript/show_trait.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/wqflask/wqflask/static/new/javascript/show_trait.js b/wqflask/wqflask/static/new/javascript/show_trait.js
index 1c8e328d..9d356570 100644
--- a/wqflask/wqflask/static/new/javascript/show_trait.js
+++ b/wqflask/wqflask/static/new/javascript/show_trait.js
@@ -1028,6 +1028,7 @@ switch_qnorm_data = function() {
})(this));
};
$('#qnorm').click(switch_qnorm_data);
+
get_sample_table_data = function(table_name) {
var samples;
samples = [];
@@ -1036,7 +1037,7 @@ get_sample_table_data = function(table_name) {
var n_exists = false;
if ($('#' + table_name).length){
- table_api = $('#' + table).DataTable();
+ table_api = $('#' + table_name).DataTable();
sample_vals = [];
name_nodes = table_api.column(2).nodes().to$();