feat: allow merge from inside topic

This commit is contained in:
Barış Soner Uşaklı
2022-09-23 14:43:04 -04:00
parent 9e0f100d36
commit 1aa916feb2

View File

@@ -119,6 +119,14 @@ define('forum/topic/threadTools', [
});
});
topicContainer.on('click', '[component="topic/merge"]', function () {
require(['forum/topic/merge'], function (merge) {
merge.init(function () {
merge.addTopic(ajaxify.data.tid);
});
});
});
topicContainer.on('click', '[component="topic/move-posts"]', function () {
require(['forum/topic/move-post'], function (movePosts) {
movePosts.init();