Resolved a bug about listing file type listing, 'All Files' were listed
twice in some cases.pull/3/head
parent
38bb45ec86
commit
28af92d386
|
@ -1436,7 +1436,7 @@ if (
|
||||||
} else {
|
} else {
|
||||||
select_box += '<option value="' + t +'">' +
|
select_box += '<option value="' + t +'">' +
|
||||||
(t == '*' ? '{{ _('All Files') }}' : t) + "</option>";
|
(t == '*' ? '{{ _('All Files') }}' : t) + "</option>";
|
||||||
have_all_types = (t == '*');
|
have_all_types = (have_all_types || (t == '*'));
|
||||||
}
|
}
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue