From f5ffb1ad224b14b277847f62d14a90b15f261e4a Mon Sep 17 00:00:00 2001 From: zsloan Date: Mon, 1 Feb 2021 11:57:30 -0600 Subject: Fixed bug that was causing trait page export to not work --- wqflask/wqflask/static/new/javascript/show_trait.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'wqflask') 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$(); -- cgit v1.2.3