mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-24 22:35:39 -04:00
Fix: Grids will no longer display alerts when navigating to another page while the grid is still loading.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
@model List<HistoryModel>
|
||||
@using NzbDrone.Common
|
||||
@using NzbDrone.Web.Models
|
||||
@using NzbDrone.Web.Helpers
|
||||
@{ViewBag.Title = "History";}
|
||||
@@ -49,6 +50,11 @@
|
||||
.Pageable(
|
||||
c =>
|
||||
c.PageSize(20).Position(GridPagerPosition.Bottom).Style(GridPagerStyles.NextPrevious))
|
||||
.ClientEvents(clientEvents =>
|
||||
{
|
||||
if (EnviromentProvider.IsProduction)
|
||||
clientEvents.OnError("grid_onError");
|
||||
})
|
||||
.Render();}
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
|
||||
Reference in New Issue
Block a user