mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add remuxing permission
This commit is contained in:
parent
eb9240a835
commit
411561daeb
5 changed files with 14 additions and 18 deletions
|
@ -73,8 +73,10 @@
|
|||
|
||||
config.CachePath = form.querySelector('#txtCachePath').value;
|
||||
|
||||
var requiresReload = false;
|
||||
|
||||
if (config.UICulture != currentLanguage) {
|
||||
Dashboard.showDashboardRefreshNotification();
|
||||
requiresReload = true;
|
||||
}
|
||||
|
||||
config.EnableAnonymousUsageReporting = $('#chkUsageData', form).checked();
|
||||
|
@ -95,12 +97,14 @@
|
|||
brandingConfig.LoginDisclaimer = form.querySelector('#txtLoginDisclaimer').value;
|
||||
brandingConfig.CustomCss = form.querySelector('#txtCustomCss').value;
|
||||
|
||||
var cssChanged = currentBrandingOptions && brandingConfig.CustomCss != currentBrandingOptions.CustomCss;
|
||||
if (currentBrandingOptions && brandingConfig.CustomCss != currentBrandingOptions.CustomCss) {
|
||||
requiresReload = true;
|
||||
}
|
||||
|
||||
ApiClient.updateNamedConfiguration(brandingConfigKey, brandingConfig).then(Dashboard.processServerConfigurationUpdateResult);
|
||||
|
||||
if (cssChanged) {
|
||||
Dashboard.showDashboardRefreshNotification();
|
||||
if (requiresReload && !AppInfo.isNativeApp) {
|
||||
window.location.reload(true);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue