Bug 627670 - "The argument of callback function of PopupNotifications is only event name." [r+a-2.0=dtownsend]

This commit is contained in:
Hiroyuki Ikezoe 2011-01-21 02:21:00 -08:00
Родитель aa52ed2fc3
Коммит edda58b342
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -719,11 +719,11 @@ const gXPInstallObserver = {
options.installs = installInfo.installs;
options.contentWindow = browser.contentWindow;
options.sourceURI = browser.currentURI;
options.eventCallback = function(aNotification, aEvent) {
options.eventCallback = function(aEvent) {
if (aEvent != "removed")
return;
aNotification.options.contentWindow = null;
aNotification.options.sourceURI = null;
options.contentWindow = null;
options.sourceURI = null;
};
PopupNotifications.show(browser, notificationID, messageString, anchorID,
null, null, options);