]> 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 03:27:41 +0000 (22:27 -0500)
commit3a44fa825363a636e5138630f557ac7f868edd48
tree52535520fd3af9408c04c7dcdcbaada0b6e128b2
parent4f44239310fdc68c56c5389ae2dba25c392d28dd
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>
(cherry picked from commit fc411c3c7efc089c59d4d10c0bcce21a97d7e646)

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