[open-ils-commits] r11302 - trunk/Open-ILS/xul/staff_client/chrome/content/main

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Nov 21 17:28:08 EST 2008


Author: phasefx
Date: 2008-11-21 17:28:03 -0500 (Fri, 21 Nov 2008)
New Revision: 11302

Modified:
   trunk/Open-ILS/xul/staff_client/chrome/content/main/main.js
Log:
get rid of the UNSAFE script warnings for interfaces that are loaded via https

Modified: trunk/Open-ILS/xul/staff_client/chrome/content/main/main.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/main/main.js	2008-11-21 20:46:50 UTC (rev 11301)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/main/main.js	2008-11-21 22:28:03 UTC (rev 11302)
@@ -12,6 +12,8 @@
 	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);
 	}



More information about the open-ils-commits mailing list