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
+3
View File
@@ -1,3 +1,4 @@
@using NzbDrone.Common
@using NzbDrone.Web.Helpers
@using NzbDrone.Web.Models;
@model IEnumerable<NzbDrone.Core.Repository.Series>
@@ -98,6 +99,8 @@
clientEvents.OnEdit("grid_edit");
clientEvents.OnSave("grid_save");
clientEvents.OnRowDataBound("grid_rowBound");
if(EnviromentProvider.IsProduction)
clientEvents.OnError("grid_onError");
})
.Render();}
@section Scripts{