From 02bfec8cc77f4170021100ff7ed81a37caba6985 Mon Sep 17 00:00:00 2001 From: LukePulverenti Date: Mon, 11 Mar 2013 23:09:30 -0400 Subject: [PATCH] fixes #21 - Need system update level in dashboard --- MediaBrowser.WebDashboard/Html/advanced.html | 10 +++++++++- .../Html/scripts/AdvancedConfigurationPage.js | 2 ++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/MediaBrowser.WebDashboard/Html/advanced.html b/MediaBrowser.WebDashboard/Html/advanced.html index d9a7f78cc..d5592b50e 100644 --- a/MediaBrowser.WebDashboard/Html/advanced.html +++ b/MediaBrowser.WebDashboard/Html/advanced.html @@ -15,11 +15,19 @@ +
  • + + +
  • - diff --git a/MediaBrowser.WebDashboard/Html/scripts/AdvancedConfigurationPage.js b/MediaBrowser.WebDashboard/Html/scripts/AdvancedConfigurationPage.js index 5c6f282fb..f8c0d0a7d 100644 --- a/MediaBrowser.WebDashboard/Html/scripts/AdvancedConfigurationPage.js +++ b/MediaBrowser.WebDashboard/Html/scripts/AdvancedConfigurationPage.js @@ -25,6 +25,7 @@ $('#fldWebSocketPortNumber', page).show(); } + $('#selectAutomaticUpdateLevel', page).val(config.SystemUpdateLevel).selectmenu('refresh'); $('#txtWebSocketPortNumber', page).val(config.LegacyWebSocketPortNumber); $('#txtPortNumber', page).val(config.HttpServerPortNumber); @@ -51,6 +52,7 @@ config.EnableDeveloperTools = $('#chkEnableDeveloperTools', form).checked(); config.RunAtStartup = $('#chkRunAtStartup', form).checked(); + config.SystemUpdateLevel = $('#selectAutomaticUpdateLevel', form).val(); ApiClient.updateServerConfiguration(config).done(Dashboard.processServerConfigurationUpdateResult); });