diff --git a/framework/core/js/forum/src/components/IndexPage.js b/framework/core/js/forum/src/components/IndexPage.js index 5848520f0..d85867b94 100644 --- a/framework/core/js/forum/src/components/IndexPage.js +++ b/framework/core/js/forum/src/components/IndexPage.js @@ -358,6 +358,10 @@ export default class IndexPage extends Page { * @return void */ markAllAsRead() { - app.session.user.save({readTime: new Date()}); + const confirmation = confirm(app.translator.trans('core.forum.index.mark_all_as_read_confirmation')); + + if (confirmation) { + app.session.user.save({readTime: new Date()}); + } } }