aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2022-09-08 19:25:59 +0000
committerzsloan2022-09-08 14:54:31 -0500
commit38481a26c602ac9cec9a6aa79a3eebeb955ffcfa (patch)
tree3e5e78f75b0a337685859a09033be0a97dc26fe4
parent874734edc9a77ad1927a3198941b79eb6cafc0ce (diff)
downloadgenenetwork2-38481a26c602ac9cec9a6aa79a3eebeb955ffcfa.tar.gz
Remove commented out code
-rw-r--r--wqflask/wqflask/static/new/javascript/show_trait.js21
1 files changed, 1 insertions, 20 deletions
diff --git a/wqflask/wqflask/static/new/javascript/show_trait.js b/wqflask/wqflask/static/new/javascript/show_trait.js
index f8c8e949..8e037187 100644
--- a/wqflask/wqflask/static/new/javascript/show_trait.js
+++ b/wqflask/wqflask/static/new/javascript/show_trait.js
@@ -606,25 +606,6 @@ submit_special = function(url) {
$("#trait_data_form").submit();
};
-// getTableContentsForFormSubmit = function(form_id) {
-// // Borrowed code from - https://stackoverflow.com/questions/31418047/how-to-post-data-for-the-whole-table-using-jquery-datatables
-// let this_form = $("#" + form_id);
-// var params = primary_table.$('input').serializeArray();
-
-// $.each(params, function(){
-// // If element doesn't exist in DOM
-// if(!$.contains(document, this_form[this.name])){
-// // Create a hidden element
-// this_form.append(
-// $('<input>')
-// .attr('type', 'hidden')
-// .attr('name', this.name)
-// .val(this.value)
-// );
-// }
-// });
-// }
-
var corrInputList = ['sample_vals', 'corr_type', 'primary_samples', 'trait_id', 'dataset', 'group', 'tool_used', 'form_url', 'corr_sample_method', 'corr_samples_group', 'corr_dataset', 'min_expr',
'corr_return_results', 'location_type', 'loc_chr', 'min_loc_mb', 'max_loc_mb', 'p_range_lower', 'p_range_upper']
@@ -1396,7 +1377,7 @@ if (valRange < 0.05){
if (js_data.num_values < 256) {
barChartWidth = 25 * getSampleVals(sampleLists[0]).length
- //ZS: Set bottom margin dependent on longest sample name length, since those can get long
+ // Set bottom margin dependent on longest sample name length, since those can get long
bottomMargin = getBarBottomMargin(sampleLists[0])
root.bar_layout = {