|
|
@ -71,7 +71,9 @@
|
|
|
|
<div class="col-sm-3 text-right">
|
|
|
|
<div class="col-sm-3 text-right">
|
|
|
|
<b>Languages</b>
|
|
|
|
<b>Languages</b>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group col-sm-8 pl-sm-0">
|
|
|
|
|
|
|
|
<select class="selectpicker" id="settings-general-serie_default_language" name="settings-general-serie_default_language"></select>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
<div class="row">
|
|
|
|
<div class="row">
|
|
|
@ -134,9 +136,16 @@
|
|
|
|
// Hide *_div on Select input changed to None
|
|
|
|
// Hide *_div on Select input changed to None
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$('#enabled_languages').on('change', function() {
|
|
|
|
|
|
|
|
//$('#settings-general-serie_default_language').selectpicker('val', $('#enabled_languages').val());
|
|
|
|
|
|
|
|
console.log($('#enabled_languages').val());
|
|
|
|
|
|
|
|
console.log($('#enabled_languages option:selected').text());
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
// Set Select input values
|
|
|
|
// Set Select input values
|
|
|
|
$('#settings-general-subfolder').val('{{settings.general.subfolder}}').trigger('change');
|
|
|
|
$('#settings-general-subfolder').val('{{settings.general.subfolder}}').trigger('change');
|
|
|
|
$('#settings-general-anti_captcha_provider').val('{{settings.general.anti_captcha_provider}}').trigger('change');
|
|
|
|
$('#settings-general-anti_captcha_provider').val('{{settings.general.anti_captcha_provider}}').trigger('change');
|
|
|
|
|
|
|
|
$('#settings-general-serie_default_language').val('{{settings.general.serie_default_language}}').trigger('change');
|
|
|
|
$('.selectpicker').selectpicker('refresh')
|
|
|
|
$('.selectpicker').selectpicker('refresh')
|
|
|
|
|
|
|
|
|
|
|
|
// Set Checkbox input values
|
|
|
|
// Set Checkbox input values
|
|
|
|