diff options
author | zsloan | 2020-11-18 12:31:50 -0600 |
---|---|---|
committer | zsloan | 2020-11-18 12:31:50 -0600 |
commit | 4ab6c9e9744e3a681a885599cddfeebde513ed2a (patch) | |
tree | 14b24a6ee6a3adf80d111e67b8eddb255c8b4e01 | |
parent | f1c15048407fa82557ecc89c1367b58ba65c859b (diff) | |
download | genenetwork2-4ab6c9e9744e3a681a885599cddfeebde513ed2a.tar.gz |
Fixed "back_to_collections" function in get_traits_from_collection.js
(function that lets you return from viewing a collection to viewing the
list of collections when selecting cofactors for scatterplot)
-rw-r--r-- | wqflask/wqflask/static/new/javascript/get_traits_from_collection.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/wqflask/static/new/javascript/get_traits_from_collection.js b/wqflask/wqflask/static/new/javascript/get_traits_from_collection.js index 4ec62157..8f6f389f 100644 --- a/wqflask/wqflask/static/new/javascript/get_traits_from_collection.js +++ b/wqflask/wqflask/static/new/javascript/get_traits_from_collection.js @@ -397,8 +397,8 @@ process_traits = function(trait_data, textStatus, jqXHR) { }; back_to_collections = function() { - collection_list_html = $('#collection_list_html').html() - $("#collections_holder").html(collection_list_html); + console.log("collection_list:", collection_list); + $("#collections_holder").html(collection_list); $(document).on("click", ".collection_line", collection_click); return $('#collections_holder').colorbox.resize(); }; |