0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-09 20:02:54 +01:00

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) => {