Closed levidurfee closed 3 years ago
I think it has something to do with this error.
cannot call methods on fileupload prior to initialization; attempted to call method 'destroy'
Maybe the below diff might help?
--- a/babble-composer.js.es6 2020-10-21 16:35:26.000000000 -0400
+++ b/babble-composer.js.es6 2020-10-21 16:35:51.000000000 -0400
@@ -64,10 +64,10 @@
})
$element.on("fileuploaddone", (e, data) => {
- $element.fileupload('destroy')
this.state.submitDisabled = undefined
let upload = data.result
if (upload && upload.url) {
+ $element.fileupload('destroy')
Babble.createPost(this.state.topic, getUploadMarkdown(upload))
} else {
// failure :(
Also noticed this warning:
Babble composer already active or could not be found
If I send an image, then try to send a different image, it shows the first image again.
Any help is appreciated. Let me know if any other information would be helpful.