jenkins-bot has submitted this change and it was merged.

Change subject: Fixed CPB flyout notification count
......................................................................


Fixed CPB flyout notification count

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

Bug: T67178
Change-Id: I7f4e34f2c1808b249db010018dd1b49a8dde246a
---
M modules/overlay/ext.echo.overlay.js
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Mattflaschen: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/overlay/ext.echo.overlay.js 
b/modules/overlay/ext.echo.overlay.js
index e2c2c20..72daaf1 100644
--- a/modules/overlay/ext.echo.overlay.js
+++ b/modules/overlay/ext.echo.overlay.js
@@ -219,6 +219,7 @@
                        }
                        this.notificationCount.unread = newCount;
                        this.notificationCount.unreadRaw = rawCount;
+                       mw.hook( 'ext.echo.updateNotificationCount' ).fire( 
rawCount );
                },
 
                configuration: mw.config.get( 'wgEchoOverlayConfiguration' ),

-- 
To view, visit https://gerrit.wikimedia.org/r/188033
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I7f4e34f2c1808b249db010018dd1b49a8dde246a
Gerrit-PatchSet: 5
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Phoenix303 <[email protected]>
Gerrit-Reviewer: EBernhardson <[email protected]>
Gerrit-Reviewer: He7d3r <[email protected]>
Gerrit-Reviewer: Jaredzimmerman <[email protected]>
Gerrit-Reviewer: Krinkle <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: Mattflaschen <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to