MOBILE-2622 desktop: Fix upload files in Windows and Linux
parent
a6b6d28d40
commit
a50b54e56c
|
@ -467,7 +467,7 @@ export class CoreFileUploaderHelperProvider {
|
|||
}
|
||||
|
||||
// Make sure the path has the protocol. In iOS it doesn't.
|
||||
if (path.indexOf('file://') == -1) {
|
||||
if (this.appProvider.isMobile() && path.indexOf('file://') == -1) {
|
||||
path = 'file://' + path;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue