diff --git a/dashboard-ui/advanced.html b/dashboard-ui/advanced.html index 8dbb65362..2946e104c 100644 --- a/dashboard-ui/advanced.html +++ b/dashboard-ui/advanced.html @@ -11,7 +11,7 @@
General - Server + Http Server Transcoding
@@ -24,6 +24,13 @@ This will start the tray icon on windows startup. To start the windows service, uncheck this and run the service from the windows control panel. Please note that you cannot run both at the same time, so you will need to exit the tray icon before starting the service. +
  • + + +
  • + +

    Updates

    +

    Cache Path

    diff --git a/dashboard-ui/advancedserversettings.html b/dashboard-ui/advancedserversettings.html index 7c7e999e2..4a1ec1c44 100644 --- a/dashboard-ui/advancedserversettings.html +++ b/dashboard-ui/advancedserversettings.html @@ -11,7 +11,7 @@
    General - Server + Http Server Transcoding
    diff --git a/dashboard-ui/encodingsettings.html b/dashboard-ui/encodingsettings.html index 976bf5a50..a254b2a40 100644 --- a/dashboard-ui/encodingsettings.html +++ b/dashboard-ui/encodingsettings.html @@ -11,7 +11,7 @@
    General - Server + Http Server Transcoding
    diff --git a/dashboard-ui/scripts/advancedconfigurationpage.js b/dashboard-ui/scripts/advancedconfigurationpage.js index ddbd7a8f6..2a05610d3 100644 --- a/dashboard-ui/scripts/advancedconfigurationpage.js +++ b/dashboard-ui/scripts/advancedconfigurationpage.js @@ -15,6 +15,13 @@ } else { $('#fldRunAtStartup', page).hide(); } + $('#chkEnableAutomaticRestart', page).checked(config.EnableAutomaticRestart).checkboxradio("refresh"); + + if (systemInfo.CanSelfRestart) { + $('#fldEnableAutomaticRestart', page).show(); + } else { + $('#fldEnableAutomaticRestart', page).hide(); + } $('#selectAutomaticUpdateLevel', page).val(config.SystemUpdateLevel).selectmenu('refresh').trigger('change'); $('#chkDebugLog', page).checked(config.EnableDebugLevelLogging).checkboxradio("refresh"); @@ -130,6 +137,7 @@ config.RunAtStartup = $('#chkRunAtStartup', form).checked(); config.SystemUpdateLevel = $('#selectAutomaticUpdateLevel', form).val(); + config.EnableAutomaticRestart = $('#chkEnableAutomaticRestart', form).checked(); ApiClient.updateServerConfiguration(config).done(Dashboard.processServerConfigurationUpdateResult); });