From 761863527b910ad1b5eb8ca9cabbbf1a4fca16e2 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sun, 7 Oct 2012 12:50:16 -0700 Subject: [PATCH] Collapse all indexer settings by default --- NzbDrone.Web/Content/IndexerSettings.css | 2 +- NzbDrone.Web/Scripts/NzbDrone/AutoBind.js | 3 +++ NzbDrone.Web/Views/AddSeries/Index.cshtml | 6 +----- NzbDrone.Web/Views/Settings/Indexers.cshtml | 4 +--- 4 files changed, 6 insertions(+), 9 deletions(-) diff --git a/NzbDrone.Web/Content/IndexerSettings.css b/NzbDrone.Web/Content/IndexerSettings.css index 278331b59..2854dfd46 100644 --- a/NzbDrone.Web/Content/IndexerSettings.css +++ b/NzbDrone.Web/Content/IndexerSettings.css @@ -93,7 +93,7 @@ .indexer-global-settings { - padding-top: 20px; + padding-bottom: 20px; overflow: hidden; } diff --git a/NzbDrone.Web/Scripts/NzbDrone/AutoBind.js b/NzbDrone.Web/Scripts/NzbDrone/AutoBind.js index 2c31f28ad..4e61a1f6d 100644 --- a/NzbDrone.Web/Scripts/NzbDrone/AutoBind.js +++ b/NzbDrone.Web/Scripts/NzbDrone/AutoBind.js @@ -27,6 +27,9 @@ autoHeight: false, collapsible: true }); + + if ($(this).hasClass('jquery-accordion-collapse-all')) + $(this).accordion("activate", false); }); $('.jquery-tabs').livequery(function () { diff --git a/NzbDrone.Web/Views/AddSeries/Index.cshtml b/NzbDrone.Web/Views/AddSeries/Index.cshtml index d629009b6..9f5506601 100644 --- a/NzbDrone.Web/Views/AddSeries/Index.cshtml +++ b/NzbDrone.Web/Views/AddSeries/Index.cshtml @@ -58,7 +58,7 @@ } @{Html.RenderAction("RootDir");} -
+

Add New Series

@@ -76,10 +76,6 @@ @Html.IncludeScript("NzbDrone/addSeries.js")