]> git.koha-community.org Git - koha.git/commit
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)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Mon, 20 Feb 2012 02:00:12 +0000 (21:00 -0500)
commitfc411c3c7efc089c59d4d10c0bcce21a97d7e646
tree71387d9246c745a8f9d632e8d0ad3d07d6b444ed
parent1294db01e7aebf9b9e5df352624bd000108c4b81
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>
(cherry picked from commit 5528b06fda325396484a3841d08687c697bc8ca6)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt
koha-tmpl/opac-tmpl/prog/en/modules/opac-basket.tt