This commit is contained in:
psychobunny
2015-10-29 15:18:00 -04:00
2 changed files with 2 additions and 1 deletions

View File

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

View File

@@ -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) {