mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-10 03:23:07 +00:00
DSC-1111 Provided buttons next to the logo delete to save changes in the edit community page, also now the file upload is started automatically
This commit is contained in:

committed by
Mattia Vianelli

parent
ab52cdb158
commit
2ae82fb07a
@@ -130,6 +130,9 @@ export class UploaderComponent {
|
||||
ngAfterViewInit() {
|
||||
this.uploader.onAfterAddingAll = ((items) => {
|
||||
this.onFileSelected.emit(items);
|
||||
if (this.uploader.queue.length > 0) {
|
||||
this.uploader.uploadAll();
|
||||
}
|
||||
});
|
||||
if (isUndefined(this.onBeforeUpload)) {
|
||||
this.onBeforeUpload = () => {return;};
|
||||
|
Reference in New Issue
Block a user