Append ?r= to rdetail url for non-TPAC staff
authorJeff Godin <jgodin@tadl.org>
Fri, 27 Jul 2012 17:57:20 +0000 (13:57 -0400)
committerJeff Godin <jgodin@tadl.org>
Fri, 27 Jul 2012 17:57:20 +0000 (13:57 -0400)
Now that TPAC is an option in the staff client, interfaces no longer
append '?r=' to the value of urls['opac_rdetail']. Therefore,
custom.js needs to be updated to include the '?r=' so that View in
Catalog and such does not break.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Open-ILS/xul/staff_client/server/skin/custom.js

index a665966..d346ad4 100644 (file)
@@ -21,7 +21,7 @@ try {
 }
 
 urls['opac'] = '/opac/' + LOCALE + '/skin/tadl-staff/xml/advanced.xml?nps=1';
-urls['opac_rdetail'] = '/opac/' + LOCALE + '/skin/tadl-staff/xml/rdetail.xml';
+urls['opac_rdetail'] = '/opac/' + LOCALE + '/skin/tadl-staff/xml/rdetail.xml?r=';
 urls['opac_rresult'] = '/opac/' + LOCALE + '/skin/tadl-staff/xml/rresult.xml';
 urls['browser'] = '/opac/' + LOCALE + '/skin/tadl-staff/xml/advanced.xml?nps=1';