mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-08 21:50:40 +01:00
feat: allow merge from inside topic
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user