diff --git a/NzbDrone.Web/NzbDrone.Web.csproj b/NzbDrone.Web/NzbDrone.Web.csproj
index a30124448..1658f4f76 100644
--- a/NzbDrone.Web/NzbDrone.Web.csproj
+++ b/NzbDrone.Web/NzbDrone.Web.csproj
@@ -578,7 +578,6 @@
-
diff --git a/NzbDrone.Web/Scripts/gridLoad.js b/NzbDrone.Web/Scripts/gridLoad.js
deleted file mode 100644
index 1fe5c40c5..000000000
--- a/NzbDrone.Web/Scripts/gridLoad.js
+++ /dev/null
@@ -1,11 +0,0 @@
-function grid_bind(args) {
- var id = this.attributes[0].textContent;
- var parent = $('#' + id).parent();
- parent.children('.grid-loader').stop().css("top", "0px").fadeIn('slow');
-}
-
-function grid_bound(args) {
- var id = this.attributes[0].textContent;
- var parent = $('#' + id).parent();
- $('.grid-container').children('.grid-loader').stop().fadeOut('slow');
-}
\ No newline at end of file
diff --git a/NzbDrone.Web/Views/History/Index.cshtml b/NzbDrone.Web/Views/History/Index.cshtml
index 9e26274a9..360180511 100644
--- a/NzbDrone.Web/Views/History/Index.cshtml
+++ b/NzbDrone.Web/Views/History/Index.cshtml
@@ -39,12 +39,6 @@ History
.Pageable(
c =>
c.PageSize(20).Position(GridPagerPosition.Bottom).Style(GridPagerStyles.NextPrevious))
- .ClientEvents(clientEvents =>
- {
- clientEvents.OnDataBinding("grid_bind");
- clientEvents.OnDataBound("grid_bound");
- })
.Render();}
- Loading...
}
diff --git a/NzbDrone.Web/Views/Series/Details.cshtml b/NzbDrone.Web/Views/Series/Details.cshtml
index d2a4552ca..76b412db7 100644
--- a/NzbDrone.Web/Views/Series/Details.cshtml
+++ b/NzbDrone.Web/Views/Series/Details.cshtml
@@ -68,11 +68,6 @@
"'); return false;\">Rename");
})
.DetailView(detailView => detailView.ClientTemplate("
<#= Overview #> <#= Path #>
"))
- .ClientEvents(clientEvents =>
- {
- clientEvents.OnDataBinding("grid_bind");
- clientEvents.OnDataBound("grid_bound");
- })
.Sortable(rows => rows.OrderBy(epSort => epSort.Add(c => c.EpisodeNumber).Descending()).Enabled(true))
.Footer(true)
.DataBinding(
@@ -84,9 +79,6 @@
c.Custom().Text("Rename Season").Action("RenameSeason", "Series", new { seasonId = season })
.ButtonType(GridButtonType.Text))
.Render();}
-
-
- Loading...
}
@if (Model.Seasons.Any(s => s == 0))
@@ -114,11 +106,6 @@
columns.Bound(c => c.Status).Width(10);
})
.DetailView(detailView => detailView.ClientTemplate("<#= Overview #> <#= Path #>
"))
- .ClientEvents(clientEvents =>
- {
- clientEvents.OnDataBinding("grid_bind");
- clientEvents.OnDataBound("grid_bound");
- })
.Sortable(rows => rows.OrderBy(epSort => epSort.Add(c => c.EpisodeNumber).Descending()).Enabled(true))
.Footer(true)
.DataBinding(
@@ -126,9 +113,6 @@
d.Ajax().Select("_AjaxSeasonGrid", "Series",
new RouteValueDictionary { { "seriesId", Model.SeriesId }, { "seasonNumber", 0 } }
)).Render(); }
-
-
- Loading...
}
}
diff --git a/NzbDrone.Web/Views/Series/Index.cshtml b/NzbDrone.Web/Views/Series/Index.cshtml
index 5289c08e2..16b9f4ca8 100644
--- a/NzbDrone.Web/Views/Series/Index.cshtml
+++ b/NzbDrone.Web/Views/Series/Index.cshtml
@@ -55,12 +55,6 @@ Series
.Delete("_DeleteAjaxSeriesEditing", "Series"))
.Columns(columns =>
{
- columns.Command(commands =>
- {
- commands.Edit().ButtonType(GridButtonType.Image);
- commands.Delete().ButtonType(GridButtonType.Image);
- }).Title("Actions").Width(80);
-
columns.Bound(o => o.Title)
.ClientTemplate("" +
"" +
"");
+ columns.Command(commands =>
+ {
+ commands.Edit().ButtonType(GridButtonType.Image);
+ commands.Delete().ButtonType(GridButtonType.Image);
+ }).Title("Actions").Width(80);
})
.Editable(editor => editor.Mode(GridEditMode.PopUp))
@@ -85,14 +84,9 @@ Series
{
clientEvents.OnEdit("grid_edit");
clientEvents.OnSave("grid_save");
- clientEvents.OnDataBinding("grid_bind");
- clientEvents.OnDataBound("grid_bound");
clientEvents.OnRowDataBound("grid_rowBound");
})
.Render();}
-
-
- Loading...
}
@@ -147,7 +141,7 @@ Series
$("#progressbar_" + seriesId).episodeProgress(episodeFileCount, episodeCount);
}
-
+