From 139a23f0682720dc529ba31769ff7a5efcecb05a Mon Sep 17 00:00:00 2001 From: Dave Townsend Date: Fri, 28 Nov 2008 04:02:19 -0800 Subject: [PATCH] Bug 463687 - More info on severity blocklist dialog doesnt do anything. r=rstrong, blocking1.9.1=dtownsend --- toolkit/mozapps/extensions/content/blocklist.js | 6 ++++++ toolkit/mozapps/extensions/content/blocklist.xul | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/toolkit/mozapps/extensions/content/blocklist.js b/toolkit/mozapps/extensions/content/blocklist.js index f517c5b1ccb..43964db84b2 100644 --- a/toolkit/mozapps/extensions/content/blocklist.js +++ b/toolkit/mozapps/extensions/content/blocklist.js @@ -67,6 +67,12 @@ function init() { document.getElementById("hardBlockMessage").hidden = false; else document.getElementById("softBlockMessage").hidden = false; + + var formatter = Components.classes["@mozilla.org/toolkit/URLFormatterService;1"] + .getService(Components.interfaces.nsIURLFormatter); + var url = formatter.formatURLPref("extensions.blocklist.detailsURL"); + var link = document.getElementById("moreInfo"); + link.setAttribute("href", url); } function accept() { diff --git a/toolkit/mozapps/extensions/content/blocklist.xul b/toolkit/mozapps/extensions/content/blocklist.xul index a73da4f7eae..780078cc9c6 100755 --- a/toolkit/mozapps/extensions/content/blocklist.xul +++ b/toolkit/mozapps/extensions/content/blocklist.xul @@ -73,7 +73,7 @@ -