Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-29 20:20:29 +01:00
FIX: confine the wizard composer's dropZone
Dieser Commit ist enthalten in:
Ursprung
097af63090
Commit
f096f7d05f
1 geänderte Dateien mit 7 neuen und 1 gelöschten Zeilen
|
@ -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");
|
||||||
|
|
||||||
|
|
Laden …
In neuem Issue referenzieren