passing location directly to opac URL
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 18 Nov 2005 20:06:56 +0000 (20:06 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 18 Nov 2005 20:06:56 +0000 (20:06 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2085 dcc99617-32d9-48b4-a31d-7c20da2025e4

Evergreen/staff_client/chrome/content/evergreen/opac/opac.js

index 8d4351f..5121985 100644 (file)
@@ -59,7 +59,7 @@ function opac_init(p) {
        p.opac_iframe = p.w.document.getElementById('opac_opac_iframe');
        p.opac_iframe.addProgressListener(p.opac_progressListener, 
                Components.interfaces.nsIWebProgress.NOTIFY_ALL );
-       p.opac_iframe.setAttribute("src", OPAC_URL) 
+       p.opac_iframe.setAttribute("src", OPAC_URL + '?location=' + mw.G.user.home_ou()
 }
 
 /* shoves data into the OPAC's space */