aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2022-06-07 21:06:41 +0000
committerzsloan2022-06-07 21:06:41 +0000
commite561cf779fb5438dc43c10bf58b6692f30daefb0 (patch)
tree5fa10625b0233e9e06a49a4bfe1dc0487d9fdfca
parentb77808d5bc810e34ea7de0f33f7f7587ebd27e47 (diff)
downloadgenenetwork2-e561cf779fb5438dc43c10bf58b6692f30daefb0.tar.gz
Define gn_server_url before running the drop-down menu JS code
-rw-r--r--wqflask/wqflask/templates/submit_trait.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/templates/submit_trait.html b/wqflask/wqflask/templates/submit_trait.html
index 3572b0a9..10ddf69f 100644
--- a/wqflask/wqflask/templates/submit_trait.html
+++ b/wqflask/wqflask/templates/submit_trait.html
@@ -104,8 +104,8 @@
{%endblock%}
{% block js %}
- <script src="/static/new/javascript/dataset_select_menu_orig.js"></script>
<script>
gn_server_url = "{{ gn_server_url }}";
</script>
+ <script src="/static/new/javascript/dataset_select_menu_orig.js"></script>
{% endblock %}