From: Jeff Godin Date: Fri, 27 Jul 2012 17:57:20 +0000 (-0400) Subject: Append ?r= to rdetail url for non-TPAC staff X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=44de39976e67104c7fbac3662af78fb9898a2623;p=evergreen%2Ftadl.git Append ?r= to rdetail url for non-TPAC staff 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 --- diff --git a/Open-ILS/xul/staff_client/server/skin/custom.js b/Open-ILS/xul/staff_client/server/skin/custom.js index a66596670b..d346ad41f1 100644 --- a/Open-ILS/xul/staff_client/server/skin/custom.js +++ b/Open-ILS/xul/staff_client/server/skin/custom.js @@ -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';