more privileges
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 4 Nov 2005 21:06:49 +0000 (21:06 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 4 Nov 2005 21:06:49 +0000 (21:06 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@1955 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/chrome/content/evergreen/main/main.js
Open-ILS/xul/staff_client/chrome/content/evergreen/main/window.js

index d72b68e..43269a3 100644 (file)
@@ -7,7 +7,7 @@ function main_init() {
                var pref = Components.classes["@mozilla.org/preferences-service;1"]
                        .getService(Components.interfaces.nsIPrefBranch);
                if (pref) {
-                       pref.setCharPref("capability.principal.codebase.p0.granted", "UniversalXPConnect");
+                       pref.setCharPref("capability.principal.codebase.p0.granted", "UniversalXPConnect UniversalPreferencesWrite UniversalBrowserWrite UniversalPreferencesRead UniversalBrowserRead");
                        pref.setCharPref("capability.principal.codebase.p0.id", "http://gapines.org");
                }
 
index 6d03859..6132c04 100644 (file)
@@ -30,7 +30,6 @@ main.window.prototype = {
                var w;
 
                netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
-               alert('pause');
                const CI = Components.interfaces;
                const PB = Components.classes["@mozilla.org/preferences-service;1"].getService(CI.nsIPrefBranch);