Bug message.js and action.js load order causes error

There is a bug in this version
M

mattrogowski

Guest
Not sure how much can actually be done about this but it seems to be a regression with the 2.3 javascript rewrite.

If templates include message.js and action.js in that specific order, a javascript error seems to be thrown:

core.js?_v=fe468900:3971 Uncaught TypeError: Cannot read properties of undefined (reading 'prototype')

fn.prototype = Object.create(parent.prototype)

This causes things like the editor to load in a modal when you submit a reply.

Usually...

Read more

Continue reading...