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,7 +88,13 @@ export default ComposerEditor.extend({
_bindUploadTarget() {
this._super(...arguments);
const $element = $(this.element);
// adding dropZone property post initialization
$element.fileupload(
'option',
'dropZone',
$element
);
$element.off("fileuploadsubmit");
$element.on("fileuploadsubmit", (e, data) => {