From 00d07214b1401dc732c2e52a136af46201b7f167 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Tue, 2 Apr 2019 22:30:30 -0400 Subject: [PATCH] Remove notification badge AJAX setup Individual link AJAX workers are obsolete now that the menu is being rendered by its own AJAX renderer. GitLab issue #562. Signed-off-by: Roberto Rosario --- mayan/apps/events/links.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/mayan/apps/events/links.py b/mayan/apps/events/links.py index d151ba556e..7e069cd1ba 100644 --- a/mayan/apps/events/links.py +++ b/mayan/apps/events/links.py @@ -72,10 +72,6 @@ link_user_events = Link( view='events:user_events' ) link_user_notifications_list = Link( - html_data={ - 'apw-attribute': 'count', 'apw-interval': '5000', - 'apw-url': '/api/notifications/?read=False', - 'apw-callback': 'MayanAppClass.mayanNotificationBadge' - }, icon_class=icon_user_notifications_list, text='', + icon_class=icon_user_notifications_list, text='', view='events:user_notifications_list' )