v1.18.x
Baris Soner Usakli 11 years ago
parent 38e4a6c8b0
commit 0ca6c58ded

@ -32,7 +32,9 @@
"not_following_topic.title": "Not Following Topic", "not_following_topic.title": "Not Following Topic",
"not_following_topic.message": "You will no longer receive notifications from this topic.", "not_following_topic.message": "You will no longer receive notifications from this topic.",
"login_to_subscribe": "Please register or log in in order to subscribe to this topic", "login_to_subscribe": "Please register or log in in order to subscribe to this topic.",
"markAsUnreadForAll.success" : "Topic marked as unread for all.",
"watch": "Watch", "watch": "Watch",
"share_this_post": "Share this Post", "share_this_post": "Share this Post",

@ -108,6 +108,7 @@ define(['composer', 'forum/pagination'], function(composer, pagination) {
if(err) { if(err) {
return app.alertError(err.message); return app.alertError(err.message);
} }
app.alertSuccess('[[topic:markAsUnreadForAll.success]]');
btn.parents('.thread-tools.open').find('.dropdown-toggle').trigger('click'); btn.parents('.thread-tools.open').find('.dropdown-toggle').trigger('click');
}); });
return false; return false;
@ -323,6 +324,7 @@ define(['composer', 'forum/pagination'], function(composer, pagination) {
localStorage.removeItem('topic:' + tid + ':bookmark'); localStorage.removeItem('topic:' + tid + ':bookmark');
} }
}); });
updateHeader();
} else { } else {
updateHeader(); updateHeader();
} }

Loading…
Cancel
Save