MOBILE-3448 File system: File name is not unique when uploading
This commit is contained in:
parent
e81d40f07e
commit
3a24dcca2e
@ -1158,7 +1158,7 @@ export class CoreFileProvider {
|
||||
do {
|
||||
newName = fileNameWithoutExtension + '(' + num + ')' + extension;
|
||||
num++;
|
||||
} while (typeof files[newName] != 'undefined');
|
||||
} while (typeof files[newName.toLowerCase()] != 'undefined');
|
||||
|
||||
// Ask the user what he wants to do.
|
||||
return newName;
|
||||
|
Loading…
x
Reference in New Issue
Block a user