Bug 463687 - More info on severity blocklist dialog doesnt do anything. r=rstrong, blocking1.9.1=dtownsend

This commit is contained in:
Dave Townsend 2008-11-28 04:02:19 -08:00
parent 8a491b2dd7
commit 139a23f068
2 changed files with 7 additions and 1 deletions

View File

@ -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() {

View File

@ -73,7 +73,7 @@
<description id="hardBlockMessage" hidden="true" class="bold">&blocklist.hardblocked;</description>
<description id="softBlockMessage" hidden="true" class="bold">&blocklist.softblocked;</description>
<hbox pack="start">
<label class="text-link" value="&blocklist.moreinfo;"/>
<label id="moreInfo" class="text-link" value="&blocklist.moreinfo;"/>
</hbox>
</vbox>
</hbox>