pull/997/head
Louis Vézina 5 years ago
parent 9cd6a489f7
commit bf7bd26859

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

Loading…
Cancel
Save