Fix: Grids will no longer display alerts when navigating to another page while the grid is still loading.

This commit is contained in:
Mark McDowall
2012-01-29 17:38:44 -08:00
parent 68e1a0bc4d
commit 2635ff9bee
11 changed files with 58 additions and 3 deletions
+4 -1
View File
@@ -1,4 +1,5 @@
@using NzbDrone.Core.Model
@using NzbDrone.Common
@using NzbDrone.Core.Model
@{ViewBag.Title = "Misnamed";}
@section ActionMenu{
<ul class="sub-menu">
@@ -47,6 +48,8 @@
.ClientEvents(clientEvents =>
{
clientEvents.OnDataBound("grid_dataBound");
if (EnviromentProvider.IsProduction)
clientEvents.OnError("grid_onError");
})
.Render();}
</div>