From 068d6ba2f311fae87eda6ea54ac6b11e936225cc Mon Sep 17 00:00:00 2001 From: phasefx Date: Fri, 21 Nov 2008 22:32:10 +0000 Subject: [PATCH] get rid of the UNSAFE script warnings for interfaces that are loaded via https git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2@11304 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/chrome/content/main/main.js | 2 ++ 1 file changed, 2 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 265f239c73..d0884a7655 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.setCharPref("capability.principal.codebase.p1.granted", perms); + pref.setCharPref("capability.principal.codebase.p1.id", url.replace('http:','https:')); pref.setBoolPref("dom.disable_open_during_load",false); pref.setBoolPref("browser.popups.showPopupBlocker",false); } -- 2.11.0