##// END OF EJS Templates
notifications: proper check for test messages
ergo -
r691:04c2aa48 default
parent child Browse files
Show More
@@ -27,8 +27,7 b' function notifyToaster(data){'
27 }
27 }
28
28
29 function handleNotifications(data) {
29 function handleNotifications(data) {
30
30 if (!templateContext.rhodecode_user.notification_status && !data.message.testMessage) {
31 if (!templateContext.rhodecode_user.notification_status && !data.testMessage) {
32 // do not act if notifications are disabled
31 // do not act if notifications are disabled
33 return
32 return
34 }
33 }
General Comments 0
You need to be logged in to leave comments. Login now