From a27af20d34190ab5320350dfe73d0a4ce6e116d7 Mon Sep 17 00:00:00 2001
From: zsloan
Date: Tue, 2 Aug 2022 19:09:01 +0000
Subject: Remove unused parameters from correlation_page.html column render
functions
---
wqflask/wqflask/templates/correlation_page.html | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/wqflask/wqflask/templates/correlation_page.html b/wqflask/wqflask/templates/correlation_page.html
index dbab2ffc..8e9af648 100644
--- a/wqflask/wqflask/templates/correlation_page.html
+++ b/wqflask/wqflask/templates/correlation_page.html
@@ -232,7 +232,7 @@
'width': "25px",
'orderDataType': "dom-checkbox",
'orderSequence': [ "desc", "asc"],
- 'render': function(data, type, row, meta) {
+ 'render': function(data) {
return ''
}
},
@@ -247,7 +247,7 @@
'type': "natural-minus-na",
'data': null,
'width': "60px",
- 'render': function(data, type, row, meta) {
+ 'render': function(data) {
return '' + data.trait_id + ''
}
}{% if target_dataset.type == 'ProbeSet' %},
@@ -261,7 +261,7 @@
'title': "Description",
'type': "natural",
'data': null,
- 'render': function(data, type, row, meta) {
+ 'render': function(data) {
try {
return decodeURIComponent(escape(data.description))
} catch(err){
@@ -288,7 +288,7 @@
'width': "40px",
'data': null,
'orderSequence': [ "desc", "asc"],
- 'render': function(data, type, row, meta) {
+ 'render': function(data) {
if (data.sample_r != "N/A") {
return "" + data.sample_r + ""
} else {
@@ -356,7 +356,7 @@
'type': "natural",
'width': "200px",
'data': null,
- 'render': function(data, type, row, meta) {
+ 'render': function(data) {
try {
return decodeURIComponent(escape(data.abbreviation_display))
} catch(err){
@@ -368,7 +368,7 @@
'title': "Description",
'type': "natural",
'data': null,
- 'render': function(data, type, row, meta) {
+ 'render': function(data) {
try {
return decodeURIComponent(escape(data.description))
} catch(err){
@@ -388,7 +388,7 @@
'type': "natural",
'width': "400px",
'data': null,
- 'render': function(data, type, row, meta) {
+ 'render': function(data) {
try {
return decodeURIComponent(escape(data.authors_display))
} catch(err){
@@ -401,7 +401,7 @@
'type': "natural-minus-na",
'data': null,
'width': "80px",
- 'render': function(data, type, row, meta) {
+ 'render': function(data) {
if (data.pubmed_id != "N/A"){
return '' + data.pubmed_text + ''
} else {
@@ -416,7 +416,7 @@
'width': "40px",
'data': null,
'orderSequence': [ "desc", "asc"],
- 'render': function(data, type, row, meta) {
+ 'render': function(data) {
if (data.sample_r != "N/A") {
return "" + data.sample_r + ""
} else {
@@ -470,7 +470,7 @@
'width': "40px",
'data': null,
'orderSequence': [ "desc", "asc"],
- 'render': function(data, type, row, meta) {
+ 'render': function(data) {
if (data.sample_r != "N/A") {
return "" + data.sample_r + ""
} else {
--
cgit v1.2.3