Bug 7461 - Cart offering to remove items when closing
authorOwen Leonard <oleonard@myacpl.org>
Tue, 24 Jan 2012 14:10:46 +0000 (09:10 -0500)
committerPaul Poulain <paul.poulain@biblibre.com>
Fri, 3 Feb 2012 14:13:10 +0000 (15:13 +0100)
commit5528b06fda325396484a3841d08687c697bc8ca6
treed76de3787f274e9be0754686323c057fb53cc434
parent9d80ca27750c60471ef0902c6f7bda345341dd7c
Bug 7461 - Cart offering to remove items when closing

The "hide window" button in the cart called a quit() function
which deletes any checked items. My understanding of the "hide
window" button is that it should *only* hide the window, not
perform any other operations. I'm removing the calls to the
quit() function in both the OPAC and staff client and adding
a CSS class, "close," which is already tied via jQuery to
the window.close() function.

To test in both OPAC and staff client: Add items to the cart.
Try clicking the "hide window" button with items selected and
without. In both cases the window should close without affecting
the contents of the cart.

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt
koha-tmpl/opac-tmpl/prog/en/modules/opac-basket.tt