mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 463687 - More info on severity blocklist dialog doesnt do anything. r=rstrong, blocking1.9.1=dtownsend
This commit is contained in:
parent
8a491b2dd7
commit
139a23f068
@ -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() {
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user