mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-15 21:06:20 -04:00
Change from rebind() to ajaxRequest() for reloading the History grid, which keeps page and sort order.
This commit is contained in:
@@ -51,6 +51,8 @@ History
|
||||
c =>
|
||||
c.PageSize(20).Position(GridPagerPosition.Bottom).Style(GridPagerStyles.NextPrevious))
|
||||
.Render();}
|
||||
|
||||
<button onclick="reloadHistoryGrid();">Reload Grid</button>
|
||||
</div>
|
||||
}
|
||||
|
||||
@@ -60,8 +62,7 @@ History
|
||||
|
||||
function reloadHistoryGrid() {
|
||||
var grid = $('#history').data('tGrid');
|
||||
grid.rebind();
|
||||
grid.sort("Date-desc");
|
||||
grid.ajaxRequest();
|
||||
}
|
||||
|
||||
function deleteHistoryRow(historyId) {
|
||||
|
||||
Reference in New Issue
Block a user