diff --git a/dashboard-ui/scripts/boxsets.js b/dashboard-ui/scripts/boxsets.js index 91ff6de0a4..0be1f2a990 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 a8783b475e..ee79679d16 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 3917d2a5e5..794dc5abbf 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 297ebc7849..53dfadd108 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 cc43dce9a6..a5062de0b5 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 1bbea904f5..1eddf6302b 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 c8379b3634..18d99bdea6 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 1fc02e2b21..8f270f383c 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 231f73dad6..166fc1103b 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');