From 153eb275202d1bc80d40d1dd5fb4b3eeb1810105 Mon Sep 17 00:00:00 2001 From: phasefx Date: Fri, 21 Nov 2008 22:28:03 +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/trunk@11302 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 da357b7fbe..a91f1ec2a2 100644 --- a/Open-ILS/xul/staff_client/chrome/content/main/main.js +++ b/Open-ILS/xul/staff_client/chrome/content/main/main.js @@ -12,6 +12,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