switching to the new, final(!?) popup window management preferences organisation. bug 166442 r=jag,jst

This commit is contained in:
danm%netscape.com 2006-07-27 14:56:44 +00:00
parent 65fc6cbe1f
commit 5ff316edd1

View File

@ -131,7 +131,7 @@
try {
var hide = pref.getBoolPref("dom.disable_open_during_load");
if (!hide)
hide = pref.getIntPref("privacy.popups.policy") != Components.interfaces.nsIPopupWindowManager.eAllowConditionally;
hide = pref.getIntPref("privacy.popups.policy") != Components.interfaces.nsIPopupWindowManager.eAllow || !pref.getBoolPref("privacy.popups.usecustom");
HidePopups(hide);
} catch(e) {
HidePopups(true);