From 0ca6c58ded6b61a872a7a2e8a49837b77b834806 Mon Sep 17 00:00:00 2001 From: Baris Soner Usakli Date: Thu, 27 Feb 2014 12:15:26 -0500 Subject: [PATCH] closes #1137 --- public/language/en_GB/topic.json | 4 +++- public/src/forum/topic.js | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) 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(); }