From f6093a23a59f39bc55db2f14d7be5c5d9aa7dac4 Mon Sep 17 00:00:00 2001 From: pines Date: Wed, 15 Mar 2006 14:03:36 +0000 Subject: [PATCH] trying to disable popup blocking.. but that might not be our problem git-svn-id: svn://svn.open-ils.org/ILS/trunk@3357 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/chrome/content/main/main.js | 2 ++ Open-ILS/xul/staff_client/defaults/preferences/prefs.js | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/Open-ILS/xul/staff_client/chrome/content/main/main.js b/Open-ILS/xul/staff_client/chrome/content/main/main.js index 3d2a054ab3..79fe16600c 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/main.js +++ b/Open-ILS/xul/staff_client/chrome/content/main/main.js @@ -8,6 +8,8 @@ function grant_perms(url) { if (pref) { pref.setCharPref("capability.principal.codebase.p0.granted", perms); pref.setCharPref("capability.principal.codebase.p0.id", url); + pref.setBoolPref("dom.disable_open_during_load",false); + pref.setBoolPref("browser.popups.showPopupBlocker",false); } } diff --git a/Open-ILS/xul/staff_client/defaults/preferences/prefs.js b/Open-ILS/xul/staff_client/defaults/preferences/prefs.js index 7930335558..758f22a5ea 100644 --- a/Open-ILS/xul/staff_client/defaults/preferences/prefs.js +++ b/Open-ILS/xul/staff_client/defaults/preferences/prefs.js @@ -16,6 +16,12 @@ pref("dom.max_script_run_time",60); pref("security.checkloaduri", false); pref("signed.applets.codebase_principal_support", true); +// This stops the pop-up blocker. Well it should, but it doesn't work here +pref("dom.disable_open_during_load", false); +pref("browser.popups.showPopupBlocker", false); +pref("privacy.popups.disable_from_plugins",0); +pref("privacy.popups.policy",0); + // Developer options pref("browser.dom.window.dump.enabled",true); pref("javascript.options.strict",false); -- 2.43.2