bug 821170 - (part 2) fix external API for PopupNotifications r=gavin

This commit is contained in:
David Keeler 2013-01-09 10:11:13 -08:00
parent dc502af4df
commit 570a2b6745

View File

@ -71,7 +71,7 @@ Notification.prototype = {
},
reshow: function() {
this.owner.reshow(this.anchorElement);
this.owner._reshowNotificationForAnchor(this.anchorElement);
}
};
@ -629,10 +629,10 @@ PopupNotifications.prototype = {
while (anchor && anchor.parentNode != this.iconBox)
anchor = anchor.parentNode;
this.reshow(anchor);
this._reshowNotificationForAnchor(anchor);
},
reshow: function PopupNotifications_reshow(anchor) {
_reshowNotificationForAnchor: function PopupNotifications_reshowNotificationForAnchor(anchor) {
// Mark notifications anchored to this anchor as un-dismissed
this._currentNotifications.forEach(function (n) {
if (n.anchorElement == anchor)