diff --git a/dashboard-ui/scripts/boxsets.js b/dashboard-ui/scripts/boxsets.js index 91ff6de0a..0be1f2a99 100644 --- a/dashboard-ui/scripts/boxsets.js +++ b/dashboard-ui/scripts/boxsets.js @@ -18,6 +18,9 @@ ApiClient.getItems(Dashboard.getCurrentUserId(), query).done(function (result) { + // Scroll back up so they can see the results from the beginning + $(document).scrollTop(0); + var html = ''; $('.listTopPaging', page).html(LibraryBrowser.getPagingHtml(query, result.TotalRecordCount, true)).trigger('create'); diff --git a/dashboard-ui/scripts/gamespage.js b/dashboard-ui/scripts/gamespage.js index a8783b475..ee79679d1 100644 --- a/dashboard-ui/scripts/gamespage.js +++ b/dashboard-ui/scripts/gamespage.js @@ -20,6 +20,9 @@ ApiClient.getItems(Dashboard.getCurrentUserId(), query).done(function (result) { + // Scroll back up so they can see the results from the beginning + $(document).scrollTop(0); + var html = ''; $('.listTopPaging', page).html(LibraryBrowser.getPagingHtml(query, result.TotalRecordCount, true)).trigger('create'); diff --git a/dashboard-ui/scripts/gamesystemspage.js b/dashboard-ui/scripts/gamesystemspage.js index 3917d2a5e..794dc5abb 100644 --- a/dashboard-ui/scripts/gamesystemspage.js +++ b/dashboard-ui/scripts/gamesystemspage.js @@ -19,6 +19,9 @@ ApiClient.getItems(Dashboard.getCurrentUserId(), query).done(function (result) { + // Scroll back up so they can see the results from the beginning + $(document).scrollTop(0); + var html = ''; $('.listTopPaging', page).html(LibraryBrowser.getPagingHtml(query, result.TotalRecordCount, true)).trigger('create'); diff --git a/dashboard-ui/scripts/itemlistpage.js b/dashboard-ui/scripts/itemlistpage.js index 297ebc784..53dfadd10 100644 --- a/dashboard-ui/scripts/itemlistpage.js +++ b/dashboard-ui/scripts/itemlistpage.js @@ -19,6 +19,9 @@ ApiClient.getItems(userId, query).done(function (result) { + // Scroll back up so they can see the results from the beginning + $(document).scrollTop(0); + var html = ''; $('.listTopPaging', page).html(LibraryBrowser.getPagingHtml(query, result.TotalRecordCount, true)).trigger('create'); diff --git a/dashboard-ui/scripts/movies.js b/dashboard-ui/scripts/movies.js index cc43dce9a..a5062de0b 100644 --- a/dashboard-ui/scripts/movies.js +++ b/dashboard-ui/scripts/movies.js @@ -19,6 +19,9 @@ ApiClient.getItems(Dashboard.getCurrentUserId(), query).done(function (result) { + // Scroll back up so they can see the results from the beginning + $(document).scrollTop(0); + var html = ''; $('.listTopPaging', page).html(LibraryBrowser.getPagingHtml(query, result.TotalRecordCount, true)).trigger('create'); diff --git a/dashboard-ui/scripts/movietrailers.js b/dashboard-ui/scripts/movietrailers.js index 1bbea904f..1eddf6302 100644 --- a/dashboard-ui/scripts/movietrailers.js +++ b/dashboard-ui/scripts/movietrailers.js @@ -19,6 +19,9 @@ ApiClient.getItems(Dashboard.getCurrentUserId(), query).done(function (result) { + // Scroll back up so they can see the results from the beginning + $(document).scrollTop(0); + var html = ''; $('.listTopPaging', page).html(LibraryBrowser.getPagingHtml(query, result.TotalRecordCount, true)).trigger('create'); diff --git a/dashboard-ui/scripts/musicalbums.js b/dashboard-ui/scripts/musicalbums.js index c8379b363..18d99bdea 100644 --- a/dashboard-ui/scripts/musicalbums.js +++ b/dashboard-ui/scripts/musicalbums.js @@ -19,6 +19,9 @@ ApiClient.getItems(Dashboard.getCurrentUserId(), query).done(function (result) { + // Scroll back up so they can see the results from the beginning + $(document).scrollTop(0); + var html = ''; $('.listTopPaging', page).html(LibraryBrowser.getPagingHtml(query, result.TotalRecordCount, true)).trigger('create'); diff --git a/dashboard-ui/scripts/songs.js b/dashboard-ui/scripts/songs.js index 1fc02e2b2..8f270f383 100644 --- a/dashboard-ui/scripts/songs.js +++ b/dashboard-ui/scripts/songs.js @@ -18,6 +18,9 @@ ApiClient.getItems(Dashboard.getCurrentUserId(), query).done(function (result) { + // Scroll back up so they can see the results from the beginning + $(document).scrollTop(0); + var html = ''; $('.listTopPaging', page).html(LibraryBrowser.getPagingHtml(query, result.TotalRecordCount, true)).trigger('create'); diff --git a/dashboard-ui/scripts/tvshows.js b/dashboard-ui/scripts/tvshows.js index 231f73dad..166fc1103 100644 --- a/dashboard-ui/scripts/tvshows.js +++ b/dashboard-ui/scripts/tvshows.js @@ -19,6 +19,9 @@ ApiClient.getItems(Dashboard.getCurrentUserId(), query).done(function (result) { + // Scroll back up so they can see the results from the beginning + $(document).scrollTop(0); + var html = ''; $('.listTopPaging', page).html(LibraryBrowser.getPagingHtml(query, result.TotalRecordCount, true)).trigger('create');