advanced search
authorpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 15 Dec 2005 22:05:07 +0000 (22:05 +0000)
committerpines <pines@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 15 Dec 2005 22:05:07 +0000 (22:05 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2413 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

index 022fc10..5c13fcf 100644 (file)
@@ -25,7 +25,8 @@ var api = {
 }
 
 var urls = {
-       'opac' : 'http://dev.gapines.org/',
+       'opac' : 'http://dev.gapines.org/opac/en-US/skin/default/xml/advanced.xml',
+       'remote' : 'http://dev.gapines.org/',
        'remote_checkin' : '/xul/server/circ/checkin.xul',
        'remote_checkout' : '/xul/server/circ/checkout.xul',
        'remote_debug_console' : '/xul/server/util/shell.html',
index c0f8e48..86bf6ce 100644 (file)
@@ -7,7 +7,7 @@ function main_init() {
                        .getService(Components.interfaces.nsIPrefBranch);
                if (pref) {
                        pref.setCharPref("capability.principal.codebase.p0.granted", "UniversalXPConnect UniversalPreferencesWrite UniversalBrowserWrite UniversalPreferencesRead UniversalBrowserRead");
-                       pref.setCharPref("capability.principal.codebase.p0.id", urls.opac);
+                       pref.setCharPref("capability.principal.codebase.p0.id", urls.remote);
                }
 
                if (typeof JSAN == 'undefined') {
@@ -51,7 +51,7 @@ function main_init() {
                                G.OpenILS.data.stash('list','hash');
                                G.OpenILS.data._debug_stash();
 
-                               G.window.open(urls.opac + urls.remote_menu_frame 
+                               G.window.open(urls.remote + urls.remote_menu_frame 
                                        + '?session='+mw.escape(G.auth.session.key)
                                        + '&authtime='+mw.escape(G.auth.session.authtime),
                                        'test','chrome,resizable');