Fixed CPB flyout notification count

Added ext.echo.updateNotificationCount to notify other extensions
about updates to the notification count.

Bug: T67178
Change-Id: I7f4e34f2c1808b249db010018dd1b49a8dde246a
This commit is contained in:
Divya 2015-02-02 03:36:47 -05:00 committed by Mattflaschen
parent d53857c7c3
commit 562168b261

View file

@ -219,6 +219,7 @@
}
this.notificationCount.unread = newCount;
this.notificationCount.unreadRaw = rawCount;
mw.hook( 'ext.echo.updateNotificationCount' ).fire( rawCount );
},
configuration: mw.config.get( 'wgEchoOverlayConfiguration' ),