mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-10-02 08:47:59 +02: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,3 +1,4 @@
|
||||
@using NzbDrone.Common
|
||||
@using NzbDrone.Core.Instrumentation
|
||||
@using NzbDrone.Web.Helpers
|
||||
@model IEnumerable<NzbDrone.Core.Instrumentation.Log>
|
||||
@@ -50,6 +51,11 @@
|
||||
.Filterable()
|
||||
.ClientEvents(c => c.OnRowDataBound("onRowDataBound"))
|
||||
.Scrollable(c => c.Height(500))
|
||||
.ClientEvents(clientEvents =>
|
||||
{
|
||||
if (EnviromentProvider.IsProduction)
|
||||
clientEvents.OnError("grid_onError");
|
||||
})
|
||||
.Render();}
|
||||
<script type="text/javascript">
|
||||
function reloadGrid() {
|
||||
|
Reference in New Issue
Block a user