mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
#930 upload widget fixes
- fix: detecting changed files for upload widget (Safari, FF, IE) refs #930 refs #802
This commit is contained in:
parent
be6a00549f
commit
e93ee70936
@ -59,7 +59,7 @@ export class UploadWidget extends WidgetComponent implements OnInit {
|
||||
}
|
||||
|
||||
onFileChanged(event: any) {
|
||||
let files = event.srcElement.files;
|
||||
let files = event.target.files;
|
||||
if (files && files.length > 0) {
|
||||
|
||||
let file = files[0];
|
||||
|
Loading…
x
Reference in New Issue
Block a user