1
0
Fork 0
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:
Luke Pulverenti 2016-07-30 13:43:55 -04:00
parent b971acb33a
commit 0d9c8e71fe
5 changed files with 196 additions and 163 deletions

View file

@ -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');
}
}