[open-ils-commits] r10770 - trunk/Open-ILS/web/vandelay

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Oct 6 22:02:50 EDT 2008


Author: erickson
Date: 2008-10-06 22:02:48 -0400 (Mon, 06 Oct 2008)
New Revision: 10770

Modified:
   trunk/Open-ILS/web/vandelay/vandelay.js
Log:
FF needs universalxpconnect to launch the marc editor

Modified: trunk/Open-ILS/web/vandelay/vandelay.js
===================================================================
--- trunk/Open-ILS/web/vandelay/vandelay.js	2008-10-07 00:56:27 UTC (rev 10769)
+++ trunk/Open-ILS/web/vandelay/vandelay.js	2008-10-07 02:02:48 UTC (rev 10770)
@@ -755,6 +755,11 @@
 }
 
 function vlOpenMarcEditWindow(rec) {
+    /*
+        To run in Firefox directly, must set signed.applets.codebase_principal_support
+        to true in about:config
+    */
+    netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
     win = window.open('/xul/server/cat/marcedit.xul'); // XXX version?
     win.xulG = {
         record : {marc : rec.marc()},



More information about the open-ils-commits mailing list