fix case sensitive bug in file selection by file type
This commit is contained in:
parent
2e18f5802b
commit
31a5f2a55a
|
@ -232,6 +232,10 @@
|
||||||
for (var i = 0; i < $scope.task.files.length; i++) {
|
for (var i = 0; i < $scope.task.files.length; i++) {
|
||||||
var extension = ariaNgCommonService.getFileExtension($scope.task.files[i].fileName);
|
var extension = ariaNgCommonService.getFileExtension($scope.task.files[i].fileName);
|
||||||
|
|
||||||
|
if (extension) {
|
||||||
|
extension = extension.toLowerCase();
|
||||||
|
}
|
||||||
|
|
||||||
if (extensions.indexOf(extension) >= 0) {
|
if (extensions.indexOf(extension) >= 0) {
|
||||||
fileIndexes.push(i);
|
fileIndexes.push(i);
|
||||||
|
|
||||||
|
|
Reference in a new issue