From 4ab6c9e9744e3a681a885599cddfeebde513ed2a Mon Sep 17 00:00:00 2001 From: zsloan Date: Wed, 18 Nov 2020 12:31:50 -0600 Subject: 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) --- wqflask/wqflask/static/new/javascript/get_traits_from_collection.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wqflask') 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(); }; -- cgit v1.2.3