mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-02 22:00:34 +01:00
Merge branch 'master' of https://github.com/NodeBB/NodeBB
This commit is contained in:
@@ -112,6 +112,7 @@ define('forum/topic/threadTools', ['forum/topic/fork', 'forum/topic/move', 'comp
|
||||
templates.parse('partials/topic/topic-menu-list', data, function(html) {
|
||||
translator.translate(html, function(html) {
|
||||
dropdownMenu.html(html);
|
||||
$(window).trigger('action:topic.tools.load');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
@@ -86,7 +86,7 @@ module.exports = function(Posts) {
|
||||
|
||||
function editMainPost(data, postData, callback) {
|
||||
var tid = postData.tid;
|
||||
var title = data.title.trim();
|
||||
var title = data.title ? data.title.trim() : '';
|
||||
|
||||
async.parallel({
|
||||
topic: function(next) {
|
||||
|
||||
Reference in New Issue
Block a user