-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Version
- NodeBB v4.8.1
- Composer Quill 4.0.1
- node v22.18.0
- npm 10.9.3
- mongo 8.0.19
During the upload of an image
Button "Sent" is not clickable anymore:
With the following error:
nodebb.min.js?v=9fa862e4008:141 Uncaught TypeError: app.alert is not a function
at nodebb.min.js?v=9fa862e4008:141:93151
at Array.forEach (<anonymous>)
at nodebb.min.js?v=9fa862e4008:141:93135
at dispatch (nodebb.min.js?v=9fa862e4008:83:41303)
at nodebb.min.js?v=9fa862e4008:83:39141
at Object.trigger (nodebb.min.js?v=9fa862e4008:84:1108)
at nodebb.min.js?v=9fa862e4008:84:1730
$(window).on("action:composer.uploadStart", (a, u) => {
u.files.forEach(r => {
app.alert({
alert_id: f(u.post_uuid, r.filename),
title: r.filename.replace(/\d_\d+_/, ""),
message: u.text
})
}
)
}
),
Here: https://github.com/NodeBB/nodebb-plugin-composer-quill/blob/master/static/lib/quill-nbb.js#L133
Probably due to the release note in nodeBB : * deprecate app.alert functions user alerts module directly (0428912c)
https://github.com/NodeBB/NodeBB/blob/v4.x/CHANGELOG.md?plain=1#L9380
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels