trying to disable popup blocking.. but that might not be our problem
authorpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 15 Mar 2006 14:03:36 +0000 (14:03 +0000)
committerpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 15 Mar 2006 14:03:36 +0000 (14:03 +0000)
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
Open-ILS/xul/staff_client/defaults/preferences/prefs.js

index 3d2a054..79fe166 100644 (file)
@@ -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);
        }
 
 }
index 7930335..758f22a 100644 (file)
@@ -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);