ACQ return-to-[search/invoice] buttons repair
authorBill Erickson <berick@esilibrary.com>
Fri, 17 Aug 2012 21:15:25 +0000 (17:15 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Mon, 20 Aug 2012 20:50:37 +0000 (16:50 -0400)
commitb90e617c6896a7a5f0e922b5206f2dcf2d383de6
tree0ca109194db413ec055a29ad95219f47f53ca98d
parent44f601f85bd37095fa986ac43e13d851c243ba42
ACQ return-to-[search/invoice] buttons repair

With changes in place to support newer version of xulrunner, several
buttons no longer work in the staff client.  These include:

Return to Search in PO and Selection List pages
Return to Invoice in PO and Selection List pages
Return in lineitem worksheet page

This fix avoids using document.referrer (which is no longer available)
with an explicit 'source' CGI parameter, which contains the path and
params of the source page.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/templates/acq/lineitem/worksheet.tt2
Open-ILS/src/templates/acq/po/view.tt2
Open-ILS/web/js/dojo/openils/acq/Lineitem.js
Open-ILS/web/js/dojo/openils/acq/nls/acq.js
Open-ILS/web/js/ui/default/acq/common/li_table.js
Open-ILS/web/js/ui/default/acq/picklist/view.js
Open-ILS/web/js/ui/default/acq/po/view_po.js