mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
#149 Fixed event preventDefault
This commit is contained in:
@@ -63,7 +63,10 @@ export class FileUploadingListComponent {
|
||||
/**
|
||||
* Call the abort method for each file
|
||||
*/
|
||||
cancelAllFiles() {
|
||||
cancelAllFiles($event) {
|
||||
if($event) {
|
||||
$event.preventDefault();
|
||||
}
|
||||
this.filesUploadingList.forEach((uploadingFileModel: FileModel) => {
|
||||
uploadingFileModel.setAbort();
|
||||
});
|
||||
|
Reference in New Issue
Block a user