1
0
Fork 0

FIX: confine the wizard composer's dropZone

Dieser Commit ist enthalten in:
Faizaan Gagan 2020-11-11 16:58:28 +05:30
Ursprung 097af63090
Commit f096f7d05f

Datei anzeigen

@ -88,6 +88,12 @@ export default ComposerEditor.extend({
_bindUploadTarget() { _bindUploadTarget() {
this._super(...arguments); this._super(...arguments);
const $element = $(this.element); const $element = $(this.element);
// adding dropZone property post initialization
$element.fileupload(
'option',
'dropZone',
$element
);
$element.off("fileuploadsubmit"); $element.off("fileuploadsubmit");