Add constructed class and messages names in comment for greppability

Done in one place but missing in two others.

Change-Id: I671326c05e15dfad1fca06f66d6847fcca0c2737
This commit is contained in:
Ed Sanders 2015-09-10 23:17:11 +01:00
parent 957c2b0c98
commit 1301a8f3f9

View file

@ -89,14 +89,18 @@
framed: false,
flags: buttonFlags,
label: this.numItems,
// The following messages can be used here:
// tooltip-pt-notifications-alert
// tooltip-pt-notifications-message
title: mw.msg( 'tooltip-pt-notifications-' + this.type ),
popup: {
$content: this.notificationsWidget.$element,
$footer: $footer,
width: config.popupWidth || 450,
head: true,
// This covers the messages 'echo-notification-alert-text-only'
// and 'echo-notification-message-text-only'
// The following messages can be used here:
// echo-notification-alert-text-only
// echo-notification-message-text-only
label: mw.msg( 'echo-notification-' + this.type + '-text-only' )
}
}, config ) );
@ -129,6 +133,9 @@
} );
this.popup.connect( this, { toggle: 'onPopupToggle' } );
// The following classes can be used here:
// mw-echo-ui-notificationBadgeButtonPopupWidget-alert
// mw-echo-ui-notificationBadgeButtonPopupWidget-message
this.$element
.addClass(
'mw-echo-ui-notificationBadgeButtonPopupWidget ' +