diff options
author | zsloan | 2022-08-02 19:13:27 +0000 |
---|---|---|
committer | zsloan | 2022-08-02 19:13:27 +0000 |
commit | e7db621fa700ec8749dddc183e75fa3b1bd7460e (patch) | |
tree | ec299da39e4f8aebd991864a1eff1f66f784c203 | |
parent | 12d9c5d87c75e5b2eee69f3533ea4452d88b1b35 (diff) | |
download | genenetwork2-e7db621fa700ec8749dddc183e75fa3b1bd7460e.tar.gz |
Remove unused parameters from gsearch_gene.html's column render functions
-rw-r--r-- | wqflask/wqflask/templates/gsearch_gene.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wqflask/wqflask/templates/gsearch_gene.html b/wqflask/wqflask/templates/gsearch_gene.html index 36739ba3..39c46f02 100644 --- a/wqflask/wqflask/templates/gsearch_gene.html +++ b/wqflask/wqflask/templates/gsearch_gene.html @@ -84,7 +84,7 @@ 'width': "5px", 'data': null, 'targets': 0, - 'render': function(data, type, row, meta) { + 'render': function(data) { return '<input type="checkbox" name="searchResult" class="trait_checkbox checkbox" value="' + data.hmac + '">' } }, @@ -102,7 +102,7 @@ 'width': "60px", 'data': null, 'targets': 2, - 'render': function(data, type, row, meta) { + 'render': function(data) { return '<a target="_blank" href="/show_trait?trait_id=' + data.name + '&dataset=' + data.dataset + '">' + data.name + '</a>' } }, @@ -147,7 +147,7 @@ 'data': null, 'width': "120px", 'targets': 8, - 'render': function(data, type, row, meta) { + 'render': function(data) { try { return decodeURIComponent(escape(data.description)) } catch(err) { |