X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f4ca9ad94a6bb006d1f3c7ba207837f1736d1247..6346a7c4c0cb5d7e8c5f01392b6cc64d329b68ec:/apps/workbench/app/assets/javascripts/infinite_scroll.js diff --git a/apps/workbench/app/assets/javascripts/infinite_scroll.js b/apps/workbench/app/assets/javascripts/infinite_scroll.js index 047858c5a0..3e63858594 100644 --- a/apps/workbench/app/assets/javascripts/infinite_scroll.js +++ b/apps/workbench/app/assets/javascripts/infinite_scroll.js @@ -1,3 +1,7 @@ +// Copyright (C) The Arvados Authors. All rights reserved. +// +// SPDX-License-Identifier: AGPL-3.0 + // infinite_scroll.js displays a tab's content using automatic scrolling // when the user scrolls to the bottom of the page and there is more data. // @@ -130,6 +134,7 @@ function maybe_load_more_content(event) { $container.find(".spinner").detach(); $container.append(data.content); $container.attr('data-infinite-content-href', data.next_page_href); + ping_all_scrollers(); }); } } @@ -151,7 +156,8 @@ function mergeInfiniteContentParams($container) { // For example, filterable.js writes filters in // infiniteContentParamsFilterable ("search for text foo") // without worrying about clobbering the filters set up by the - // tab pane ("only show jobs and pipelines in this tab"). + // tab pane ("only show container requests and pipeline instances + // in this tab"). $.each($container.data(), function(datakey, datavalue) { // Note: We attach these data to DOM elements using // . We store/retrieve them