Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-21 17:00:29 +01:00
COMPATIBILITY: set wizardEventFieldId for uppy drop event
Dieser Commit ist enthalten in:
Ursprung
9b75da8ff8
Commit
7e6749cae0
2 geänderte Dateien mit 10 neuen und 1 gelöschten Zeilen
|
@ -94,4 +94,13 @@ export default class CustomWizardComposerEditor extends ComposerEditor {
|
|||
this.session.set("wizardEventFieldId", this.field.id);
|
||||
document.getElementById(this.fileUploadElementId).click();
|
||||
}
|
||||
|
||||
_uploadDropTargetOptions() {
|
||||
return {
|
||||
target: this.element,
|
||||
onDrop: () => {
|
||||
this.session.set("wizardEventFieldId", this.field.id);
|
||||
},
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
# name: discourse-custom-wizard
|
||||
# about: Forms for Discourse. Better onboarding, structured posting, data enrichment, automated actions and much more.
|
||||
# version: 2.8.9
|
||||
# version: 2.8.10
|
||||
# authors: Angus McLeod, Faizaan Gagan, Robert Barrow, Keegan George, Kaitlin Maddever, Juan Marcos Gutierrez Ramos
|
||||
# url: https://github.com/paviliondev/discourse-custom-wizard
|
||||
# contact_emails: development@pavilion.tech
|
||||
|
|
Laden …
In neuem Issue referenzieren