mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-06-07 20:13:15 +02:00
chore: up harmony/composer
use newReply with params
This commit is contained in:
@@ -91,7 +91,7 @@
|
||||
"multiparty": "4.2.3",
|
||||
"nconf": "0.12.0",
|
||||
"nodebb-plugin-2factor": "6.0.3",
|
||||
"nodebb-plugin-composer-default": "10.0.18",
|
||||
"nodebb-plugin-composer-default": "10.0.19",
|
||||
"nodebb-plugin-dbsearch": "6.0.0",
|
||||
"nodebb-plugin-emoji": "5.0.3",
|
||||
"nodebb-plugin-emoji-android": "4.0.0",
|
||||
@@ -99,7 +99,7 @@
|
||||
"nodebb-plugin-mentions": "4.0.2",
|
||||
"nodebb-plugin-spam-be-gone": "2.0.4",
|
||||
"nodebb-rewards-essentials": "0.2.1",
|
||||
"nodebb-theme-harmony": "0.0.12",
|
||||
"nodebb-theme-harmony": "0.0.13",
|
||||
"nodebb-theme-lavender": "7.0.5",
|
||||
"nodebb-theme-peace": "2.0.14",
|
||||
"nodebb-theme-persona": "13.0.36",
|
||||
|
||||
@@ -92,7 +92,11 @@ define('quickreply', [
|
||||
e.preventDefault();
|
||||
|
||||
const textEl = components.get('topic/quickreply/text');
|
||||
composer.newReply(ajaxify.data.tid, undefined, ajaxify.data.title, utils.escapeHTML(textEl.val()));
|
||||
composer.newReply({
|
||||
tid: ajaxify.data.tid,
|
||||
title: ajaxify.data.title,
|
||||
body: utils.escapeHTML(textEl.val()),
|
||||
});
|
||||
textEl.val('');
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user