extend(DiscussionPage.prototype, 'view', function() {
unreadNotificationCount: app.session.user.unreadNotificationCount() + 1,
newNotificationCount: app.session.user.newNotificationCount() + 1
});
app.notifications.clear();
m.redraw();
});
I am using the above but it doesnt seems to work any ideas?