]> git.evergreen-ils.org Git - Evergreen.git/commit
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:09 +0000 (16:50 -0400)
commit1a0a373a6f8da16bfc22b0503fdf6c1f0453469c
tree6b3d134920142fe9f2b7f3b3c3727f39e1a2cd67
parentc1505ea06b6a20736d107ad267d449fd6e218030
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