diff --git a/dashboard-ui/channelsettings.html b/dashboard-ui/channelsettings.html index 4c2cdc696a..59b5b4240c 100644 --- a/dashboard-ui/channelsettings.html +++ b/dashboard-ui/channelsettings.html @@ -50,8 +50,7 @@
'; + deviceHtml += d.AppName; + deviceHtml += '
'; + } + if (d.LastUserName) { deviceHtml += ''; deviceHtml += Globalize.translate('DeviceLastUsedByUserName', d.LastUserName); diff --git a/dashboard-ui/scripts/devicesupload.js b/dashboard-ui/scripts/devicesupload.js index 9063452f79..bf53f660e2 100644 --- a/dashboard-ui/scripts/devicesupload.js +++ b/dashboard-ui/scripts/devicesupload.js @@ -12,6 +12,8 @@ $('#txtUploadPath', page).val(config.CameraUploadPath || ''); + $('#chkSubfolder', page).checked(config.EnableCameraUploadSubfolders).checkboxradio('refresh'); + loadDeviceList(page, devices, config); } @@ -34,6 +36,11 @@ deviceHtml += ''; var isChecked = config.EnabledCameraUploadDevices.indexOf(d.Id) != -1; @@ -88,6 +95,8 @@ }); + config.EnableCameraUploadSubfolders = $('#chkSubfolder', page).checked(); + ApiClient.updateNamedConfiguration("devices", config).done(Dashboard.processServerConfigurationUpdateResult); });