[open-ils-commits] r11303 - branches/rel_1_4/Open-ILS/xul/staff_client/chrome/content/main

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


Author: phasefx
Date: 2008-11-21 17:30:25 -0500 (Fri, 21 Nov 2008)
New Revision: 11303

Modified:
   branches/rel_1_4/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: branches/rel_1_4/Open-ILS/xul/staff_client/chrome/content/main/main.js
===================================================================
--- branches/rel_1_4/Open-ILS/xul/staff_client/chrome/content/main/main.js	2008-11-21 22:28:03 UTC (rev 11302)
+++ branches/rel_1_4/Open-ILS/xul/staff_client/chrome/content/main/main.js	2008-11-21 22:30:25 UTC (rev 11303)
@@ -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