pull/884/head
Louis Vézina 5 years ago
parent 1f82645e1d
commit e365607c16

@ -219,9 +219,7 @@
$.ajax({
url: "{{ url_for('api.languages') }}?enabled=true",
success:function(data) {
if ('{{settings.general.single_language}}' === 'True') {
$('#languages_select').append('<option value="None">None</option>');
}
$.each(data, function (i, item) {
$('#languages_select').append('<option value="'+item.code2+'">'+item.name+'</option>');
});

Loading…
Cancel
Save