mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
convert playlist page
This commit is contained in:
parent
b971acb33a
commit
0d9c8e71fe
5 changed files with 196 additions and 163 deletions
|
@ -34,8 +34,8 @@
|
|||
|
||||
function updateEncoder(form) {
|
||||
|
||||
return ApiClient.getSystemInfo().then(function(systemInfo) {
|
||||
|
||||
return ApiClient.getSystemInfo().then(function (systemInfo) {
|
||||
|
||||
if (systemInfo.EncoderLocationType == "External") {
|
||||
return;
|
||||
}
|
||||
|
@ -118,8 +118,10 @@
|
|||
|
||||
if (this.value == 'Custom') {
|
||||
page.querySelector('.fldEncoderPath').classList.remove('hide');
|
||||
page.querySelector('.txtEncoderPath').setAttribute('required', 'required');
|
||||
} else {
|
||||
page.querySelector('.fldEncoderPath').classList.add('hide');
|
||||
page.querySelector('.txtEncoderPath').removeAttribute('required');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue