aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates/gsearch_gene.html
diff options
context:
space:
mode:
Diffstat (limited to 'gn2/wqflask/templates/gsearch_gene.html')
-rw-r--r--gn2/wqflask/templates/gsearch_gene.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/gn2/wqflask/templates/gsearch_gene.html b/gn2/wqflask/templates/gsearch_gene.html
index c5575699..3432662d 100644
--- a/gn2/wqflask/templates/gsearch_gene.html
+++ b/gn2/wqflask/templates/gsearch_gene.html
@@ -261,6 +261,8 @@
if (traitsJson.length > 0) {
create_table(tableId, traitsJson, columnDefs, tableSettings);
+ } else {
+ $("#" + tableId +" td").replaceWith("<td>No data</td>")
}
});