chore: up harmony/composer

use newReply with params
This commit is contained in:
Barış Soner Uşaklı
2023-01-16 11:25:57 -05:00
parent e02f421613
commit 964d807de6
2 changed files with 7 additions and 3 deletions

View File

@@ -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",

View File

@@ -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('');
});
};