Bug 546502 - Refreshing on toolbar for crash plugin UI doesn't remove notification bar. r=gavin, a=developers
This commit is contained in:
@@ -6316,6 +6316,11 @@ var gPluginHandler = {
|
||||
link.href = gPluginHandler.crashReportHelpURL;
|
||||
let description = notification.ownerDocument.getAnonymousElementByAttribute(notification, "anonid", "messageText");
|
||||
description.appendChild(link);
|
||||
|
||||
// Remove the notfication when the page is reloaded.
|
||||
doc.defaultView.top.addEventListener("unload", function() {
|
||||
notificationBox.removeNotification(notification);
|
||||
}, false);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user