1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-25 09:12:38 +00:00
This commit is contained in:
Louis Vézina 2020-05-04 07:27:22 -04:00
parent 9cd6a489f7
commit bf7bd26859

View file

@ -671,9 +671,11 @@
// Set Checkbox input values
$('.provider').prop('checked', false).trigger('change');
{% if settings.general.enabled_providers %}
$('{{settings.general.enabled_providers}}'.split(',')).each( function(i, item) {
$("[id=" + item + "]").prop('checked', true).trigger('change');
})
{% endif %}
$('#settings-addic7ed-random_agents').prop('checked', {{'true' if settings.addic7ed.getboolean('random_agents') else 'false'}});
$('#settings-opensubtitles-vip').prop('checked', {{'true' if settings.opensubtitles.getboolean('vip') else 'false'}});