Skip to content

Node.js based forum software built for the modern web

closes #1137

Baris Soner Usakli0ca6c58ded6b
diff --git a/public/language/en_GB/topic.json b/public/language/en_GB/topic.json
index 085f8df821..dc47458923 100644
--- a/public/language/en_GB/topic.json
+++ b/public/language/en_GB/topic.json
@@ -32,7 +32,9 @@
"not_following_topic.title": "Not Following 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",
"share_this_post": "Share this Post",
diff --git a/public/src/forum/topic.js b/public/src/forum/topic.js
index d220494b86..f603ca4aba 100644
--- a/public/src/forum/topic.js
+++ b/public/src/forum/topic.js
@@ -108,6 +108,7 @@ define(['composer', 'forum/pagination'], function(composer, pagination) {
if(err) {
return app.alertError(err.message);
}
+ app.alertSuccess('[[topic:markAsUnreadForAll.success]]');
btn.parents('.thread-tools.open').find('.dropdown-toggle').trigger('click');
});
return false;
@@ -323,6 +324,7 @@ define(['composer', 'forum/pagination'], function(composer, pagination) {
localStorage.removeItem('topic:' + tid + ':bookmark');
}
});
+ updateHeader();
} else {
updateHeader();
}