امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
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
Location: js/xf/message.js - XF.Message.insertMessages function
The Problem: The callback is invoked with html instead of messages:
Code:
کد:
if (onInsert)
{
onInsert(html) // Wrong - passes raw html parameter
}
Code:
کد:
messages =>
{
const message =...
Read more
