mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-11 09:17:47 +08:00
Changes for subfolder settings
This commit is contained in:
parent
2a6dc54c88
commit
51bd040991
1 changed files with 15 additions and 1 deletions
|
@ -1073,6 +1073,7 @@
|
||||||
<option value="subs">subs</option>
|
<option value="subs">subs</option>
|
||||||
<option value="subtitle">subtitle</option>
|
<option value="subtitle">subtitle</option>
|
||||||
<option value="subtitles">subtitles</option>
|
<option value="subtitles">subtitles</option>
|
||||||
|
<option value="custom">Custom folder</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -1085,7 +1086,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="middle aligned row">
|
<div class="middle aligned row subfolder">
|
||||||
<div class="right aligned four wide column">
|
<div class="right aligned four wide column">
|
||||||
<label>Custom Subtitle folder</label>
|
<label>Custom Subtitle folder</label>
|
||||||
</div>
|
</div>
|
||||||
|
@ -2007,6 +2008,19 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if ($('#settings_subfolder').val() !== "custom") {
|
||||||
|
$('.subfolder').hide();
|
||||||
|
}
|
||||||
|
|
||||||
|
$('#settings_subfolder').dropdown('setting', 'onChange', function(){
|
||||||
|
if ($('#settings_subfolder').val() !== "custom") {
|
||||||
|
$('.subfolder').hide();
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$('.subfolder').show();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
if ($('#settings_auth_type').val() === "None") {
|
if ($('#settings_auth_type').val() === "None") {
|
||||||
$('.auth_option').hide();
|
$('.auth_option').hide();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue