mirror of https://github.com/morpheus65535/bazarr
WIP
This commit is contained in:
parent
1f82645e1d
commit
e365607c16
|
@ -219,9 +219,7 @@
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: "{{ url_for('api.languages') }}?enabled=true",
|
url: "{{ url_for('api.languages') }}?enabled=true",
|
||||||
success:function(data) {
|
success:function(data) {
|
||||||
if ('{{settings.general.single_language}}' === 'True') {
|
$('#languages_select').append('<option value="None">None</option>');
|
||||||
$('#languages_select').append('<option value="None">None</option>');
|
|
||||||
}
|
|
||||||
$.each(data, function (i, item) {
|
$.each(data, function (i, item) {
|
||||||
$('#languages_select').append('<option value="'+item.code2+'">'+item.name+'</option>');
|
$('#languages_select').append('<option value="'+item.code2+'">'+item.name+'</option>');
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue