From 0b7221efe6e20ccbdc8588be3a2ebaf71b16da7c Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 3 Sep 2019 18:09:48 +0200 Subject: [PATCH] Ability to dismiss notifications about a support answer --- www/common/notifications.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/www/common/notifications.js b/www/common/notifications.js index 4aa648a15..4f5d286ee 100644 --- a/www/common/notifications.js +++ b/www/common/notifications.js @@ -117,6 +117,9 @@ define([ common.openURL('/support/'); defaultDismiss(common, data)(); }; + if (!content.archived) { + content.dismissHandler = defaultDismiss(common, data); + } }; handlers['REQUEST_PAD_ACCESS'] = function (common, data) {