aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wqflask/wqflask/templates/collections/view.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/wqflask/wqflask/templates/collections/view.html b/wqflask/wqflask/templates/collections/view.html
index 3ebee77c..6d0e3edd 100644
--- a/wqflask/wqflask/templates/collections/view.html
+++ b/wqflask/wqflask/templates/collections/view.html
@@ -188,8 +188,9 @@
<script type="text/javascript"
src="/static/new/javascript/partial_correlations.js"></script>
-
-
+ <script type='text/javascript'>
+ var traits_json = {{ traits_json|safe }};
+ </script>
<script language="javascript" type="text/javascript">
$(document).ready( function () {
@@ -217,7 +218,7 @@
"order": [[1, "asc" ]]
}
- create_table(table_id, column_defs, table_settings)
+ create_table(table_id, traits_json, column_defs, table_settings)
submit_special = function(url) {
$("#collection_form").attr("action", url);