diff --git a/browser/base/content/pageReport.js b/browser/base/content/pageReport.js index d7245fb5b117..b819677687cf 100644 --- a/browser/base/content/pageReport.js +++ b/browser/base/content/pageReport.js @@ -23,6 +23,7 @@ var gSiteBox; var gUnblockButton; var gPageReport; +var gUPMsg; var popupmanager = Components.classes["@mozilla.org/PopupWindowManager;1"] @@ -33,6 +34,7 @@ function onLoad() gSiteBox = document.getElementById("siteBox"); gUnblockButton = document.getElementById("unblockButton"); gPageReport = opener.gBrowser.pageReport; + gUPMsg = document.getElementById("unblockedPopupMsg"); buildSiteBox(); } @@ -74,5 +76,7 @@ function whitelistSite() uri.spec = selectedItem.label; popupmanager.add(uri, false); gSiteBox.removeChild(selectedItem); + + alert(selectedItem.label + gUPMsg.value); } diff --git a/browser/base/content/pageReport.xul b/browser/base/content/pageReport.xul index 4e60d2e25d2a..0f07dd6f336b 100644 --- a/browser/base/content/pageReport.xul +++ b/browser/base/content/pageReport.xul @@ -44,6 +44,8 @@