diff --git a/components/ItemGrid/ItemGrid.bs b/components/ItemGrid/ItemGrid.bs index c140f231..c851e30b 100644 --- a/components/ItemGrid/ItemGrid.bs +++ b/components/ItemGrid/ItemGrid.bs @@ -569,8 +569,9 @@ end sub ' 'Load next set of items sub loadMoreData() - startLoadingSpinner(false) if m.Loading = true then return + + startLoadingSpinner(false) m.Loading = true m.loadItemsTask.startIndex = m.loadedItems m.loadItemsTask.observeField("content", "ItemDataLoaded") diff --git a/components/ItemGrid/MovieLibraryView.bs b/components/ItemGrid/MovieLibraryView.bs index 9fe49401..b4c5d130 100644 --- a/components/ItemGrid/MovieLibraryView.bs +++ b/components/ItemGrid/MovieLibraryView.bs @@ -687,8 +687,9 @@ end sub ' 'Load next set of items sub loadMoreData() - startLoadingSpinner(false) if m.Loading = true then return + + startLoadingSpinner(false) m.Loading = true m.loadItemsTask.startIndex = m.loadedItems m.loadItemsTask.observeField("content", "ItemDataLoaded") diff --git a/components/ItemGrid/MusicLibraryView.bs b/components/ItemGrid/MusicLibraryView.bs index 0ca07b5b..77d79d62 100644 --- a/components/ItemGrid/MusicLibraryView.bs +++ b/components/ItemGrid/MusicLibraryView.bs @@ -108,7 +108,7 @@ end sub 'Load initial set of Data sub loadInitialItems() m.loadItemsTask.control = "stop" - startLoadingSpinner() + startLoadingSpinner(false) if LCase(m.top.parentItem.json.Type) = "collectionfolder" m.top.HomeLibraryItem = m.top.parentItem.Id @@ -550,8 +550,9 @@ end sub ' 'Load next set of items sub loadMoreData() - startLoadingSpinner(false) if m.Loading = true then return + + startLoadingSpinner(false) m.Loading = true m.loadItemsTask.startIndex = m.loadedItems m.loadItemsTask.observeField("content", "ItemDataLoaded")