mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Emit event when the folder is created
This commit is contained in:
@@ -138,6 +138,9 @@ export class UploadDragAreaComponent {
|
||||
.subscribe(
|
||||
message => {
|
||||
let self = this;
|
||||
this.onSuccess.emit({
|
||||
value: 'Created folder'
|
||||
});
|
||||
let dirReader = folder.createReader();
|
||||
dirReader.readEntries(function (entries: any) {
|
||||
for (let i = 0; i < entries.length; i++) {
|
||||
|
Reference in New Issue
Block a user