ACQ return-to-[search/invoice] buttons repair
authorBill Erickson <berick@esilibrary.com>
Fri, 17 Aug 2012 21:15:25 +0000 (17:15 -0400)
committerDan Scott <dscott@laurentian.ca>
Thu, 23 Aug 2012 13:27:32 +0000 (09:27 -0400)
commit71cefad9f59daa294b47cef10eff483913fbbc92
treeb054f6fb468596d0407fcf3c7ad934509bf22737
parent485afd90b1782ccf54b859b893462e2537738aaa
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