FF needs universalxpconnect to launch the marc editor
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 7 Oct 2008 02:02:48 +0000 (02:02 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 7 Oct 2008 02:02:48 +0000 (02:02 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@10770 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/vandelay/vandelay.js

index bcfeb0c..c13a90e 100644 (file)
@@ -755,6 +755,11 @@ function vlFetchQueueFromForm() {
 }
 
 function vlOpenMarcEditWindow(rec) {
 }
 
 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()},
     win = window.open('/xul/server/cat/marcedit.xul'); // XXX version?
     win.xulG = {
         record : {marc : rec.marc()},