mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 894877 - permissions.js onRadioClick tries to pass a host string to SitePermissions.remove, needs to be an nsIURI instead. r=jaws
This commit is contained in:
parent
0097ed7044
commit
9099fc07d7
@ -150,7 +150,7 @@ function onCheckboxClick(aPartId)
|
||||
var command = document.getElementById("cmd_" + aPartId + "Toggle");
|
||||
var checkbox = document.getElementById(aPartId + "Def");
|
||||
if (checkbox.checked) {
|
||||
SitePermissions.remove(gPermURI.host, aPartId);
|
||||
SitePermissions.remove(gPermURI, aPartId);
|
||||
command.setAttribute("disabled", "true");
|
||||
var perm = SitePermissions.getDefault(aPartId);
|
||||
setRadioState(aPartId, perm);
|
||||
|
Loading…
Reference in New Issue
Block a user