From: phasefx Date: Fri, 21 Nov 2008 22:30:25 +0000 (+0000) Subject: get rid of the UNSAFE script warnings for interfaces that are loaded via https X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6668e46d679947c00ed51bca2ac7e4b2189e2409;p=Evergreen.git 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_4@11303 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- 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); }