v1.18.x
barisusakli 9 years ago
parent 3a6d5948ba
commit 902f529d53

@ -99,7 +99,8 @@ define('forum/topic/events', [
}
var editedPostEl = components.get('post/content', data.post.pid),
editorEl = $('[data-pid="' + data.post.pid + '"] [component="post/editor"]'),
topicTitle = components.get('topic/title');
topicTitle = components.get('topic/title'),
breadCrumb = components.get('breadcrumb/current');
if (topicTitle.length && data.topic.title) {
var newUrl = 'topic/' + data.topic.slug + (window.location.search ? window.location.search : '');
@ -108,6 +109,9 @@ define('forum/topic/events', [
topicTitle.fadeOut(250, function() {
topicTitle.html(data.topic.title).fadeIn(250);
});
breadCrumb.fadeOut(250, function() {
breadCrumb.html(data.topic.title).fadeIn(250);
});
}
editedPostEl.fadeOut(250, function() {

@ -134,8 +134,7 @@ topicsController.get = function(req, res, callback) {
url: nconf.get('relative_path') + '/category/' + topicData.category.slug
},
{
text: topicData.title,
url: nconf.get('relative_path') + '/topic/' + topicData.slug
text: topicData.title
}
];

Loading…
Cancel
Save