зеркало из https://github.com/mozilla/gecko-dev.git
Bug 290175 JS Error in permissionsNavigatorOverlay.xul
r/sr=neil.parkwaycc.co.uk a=asa
This commit is contained in:
Родитель
6c47296a3c
Коммит
49a8d54829
|
@ -80,15 +80,11 @@
|
|||
setRadioButton("AllowImages", uri, nsIPermissionManager.ALLOW_ACTION, "image");
|
||||
setRadioButton("BlockImages", uri, nsIPermissionManager.DENY_ACTION, "image");
|
||||
|
||||
SetPopupMenuEnabledState();
|
||||
|
||||
var pref;
|
||||
pref = Components.classes['@mozilla.org/preferences-service;1'];
|
||||
pref = pref.getService();
|
||||
pref = pref.QueryInterface(Components.interfaces.nsIPrefBranch);
|
||||
}
|
||||
|
||||
function SetPopupMenuEnabledState() {
|
||||
var blocked = nsIPermissionManager.UNKNOWN_ACTION;
|
||||
var policy = pref.getBoolPref("dom.disable_open_during_load");
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче