diff options
author | zsloan | 2024-09-18 18:51:56 +0000 |
---|---|---|
committer | zsloan | 2024-09-18 18:53:30 +0000 |
commit | d72aa3b0ef39cef58a38a588cb2d07762a7ca424 (patch) | |
tree | 59aa4e5e836a083fd2ee16f587be07b30283ad0d /gn2/wqflask/static | |
parent | 58b4cd559ea5c5dc8381af923573065b488e536c (diff) | |
download | genenetwork2-d72aa3b0ef39cef58a38a588cb2d07762a7ca424.tar.gz |
Show the Location for the Description when selecting a cofactor that is a genotype marker
Diffstat (limited to 'gn2/wqflask/static')
-rw-r--r-- | gn2/wqflask/static/new/javascript/get_traits_from_collection.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gn2/wqflask/static/new/javascript/get_traits_from_collection.js b/gn2/wqflask/static/new/javascript/get_traits_from_collection.js index c115f3b0..6968a9d7 100644 --- a/gn2/wqflask/static/new/javascript/get_traits_from_collection.js +++ b/gn2/wqflask/static/new/javascript/get_traits_from_collection.js @@ -389,7 +389,11 @@ process_traits = function(trait_data, textStatus, jqXHR) { the_html += "<td class='trait' data-display_name='" + trait.name + "'>" + trait.name + "</td>"; } the_html += "<td class='dataset' data-dataset='" + trait.dataset + "'>" + trait.dataset_name + "</td>"; - the_html += "<td class='description'>" + trait.description + "</td>"; + if (trait.dataset.includes('Geno')) { + the_html += "<td class='description'>" + trait.location + "</td>"; + } else { + the_html += "<td class='description'>" + trait.description + "</td>"; + } } the_html += "</tbody>"; the_html += "</table>"; |