I
Itworx4me
Guest
Guest or Bot
In js/xf/message.js, the XF.Message.insertMessages function passes the wrong parameter to the onInsert callback, causing the scroll-to-new-post feature in QuickReply to fail silently.
Location: js/xf/message.js - XF.Message.insertMessages function
The Problem: The callback is invoked with html instead of messages:
Code:
But XF.QuickReply.insertMessages expects an array:
Code:
Read more
Continue reading...
Location: js/xf/message.js - XF.Message.insertMessages function
The Problem: The callback is invoked with html instead of messages:
Code:
Code:
if (onInsert)
{
onInsert(html) // Wrong - passes raw html parameter
}
Code:
Code:
messages =>
{
const message =...
Read more
Continue reading...