diff --git a/rhodecode/public/js/src/rhodecode/utils/notifications.js b/rhodecode/public/js/src/rhodecode/utils/notifications.js --- a/rhodecode/public/js/src/rhodecode/utils/notifications.js +++ b/rhodecode/public/js/src/rhodecode/utils/notifications.js @@ -15,7 +15,7 @@ function notifyToaster(data){ } function handleNotifications(data) { - if (!templateContext.rhodecode_user.notification_status && !data.message.testMessage) { + if (!templateContext.rhodecode_user.notification_status && !data.message.force) { // do not act if notifications are disabled return } diff --git a/rhodecode/templates/admin/my_account/my_account_notifications.html b/rhodecode/templates/admin/my_account/my_account_notifications.html --- a/rhodecode/templates/admin/my_account/my_account_notifications.html +++ b/rhodecode/templates/admin/my_account/my_account_notifications.html @@ -79,7 +79,7 @@ message: { message: 'This is a test notification.', level: level, - testMessage: true + force: true } }; $.Topic('/notifications').publish(payload);