fixed dropzone issues

This commit is contained in:
lotte
2021-03-11 15:41:27 +01:00
parent 66463cfc04
commit 7d774d43e8
3 changed files with 14 additions and 9 deletions

View File

@@ -146,12 +146,6 @@ export class UploaderComponent {
this.uploader.options.headers = [{ name: XSRF_REQUEST_HEADER, value: this.tokenExtractor.getToken() }];
this.onBeforeUpload();
this.isOverDocumentDropZone = observableOf(false);
// Move page target to the uploader
const config: ScrollToConfigOptions = {
target: this.uploaderId
};
this.scrollToService.scrollTo(config);
};
if (hasValue(this.uploadProperties)) {
this.uploader.onBuildItemForm = (item, form) => {