ACQ: Avoid refetching LIDs after update if page changes user/berick/acq-avoid-lid-draw-on-update-ignore
authorBill Erickson <berick@esilibrary.com>
Fri, 16 Sep 2011 13:28:15 +0000 (09:28 -0400)
committerBill Erickson <berick@esilibrary.com>
Fri, 16 Sep 2011 13:28:15 +0000 (09:28 -0400)
commit072d221a948bac8a10cb8100fd4b347514e31387
tree8f9595a2b6162fdf358169d1e00bbdbe715ee147
parent19381fa63d48e834ec7a98f4e43e88dc524c837c
ACQ: Avoid refetching LIDs after update if page changes

After updating a pile of LID (copy) objects in the ACQ lineitem table,
if the user clicks the Return button to return to the main LI table,
avoid re-fetching and re-drawing the copy grid, which is no longer
visible.  This solves the problem of returning to the LI table, opening
the copy display for a new LI, only to find the copies from the
previous LI drawn into the grid.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/web/js/ui/default/acq/common/li_table.js