Resolved a bug about listing file type listing, 'All Files' were listed

twice in some cases.
pull/3/head
Ashesh Vashi 2016-05-16 02:43:35 +05:30
parent 38bb45ec86
commit 28af92d386
1 changed files with 1 additions and 1 deletions

View File

@ -1436,7 +1436,7 @@ if (
} else {
select_box += '<option value="' + t +'">' +
(t == '*' ? '{{ _('All Files') }}' : t) + "</option>";
have_all_types = (t == '*');
have_all_types = (have_all_types || (t == '*'));
}
i++;
}