]> git.koha-community.org Git - koha.git/commit
Fix for Bug 6970 - logout not redirecting to login page
authorOwen Leonard <oleonard@myacpl.org>
Wed, 5 Oct 2011 13:53:02 +0000 (09:53 -0400)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Wed, 19 Oct 2011 20:02:17 +0000 (16:02 -0400)
commit92913143c895af00d0fed09b3b1e3e3d284ff3ca
tree9afd52969f2262466ac7cfce59e2e8062d356528
parent0d3e10b2fbbd45e3695b6fd9e58b01e1cedefcaa
Fix for Bug 6970 - logout not redirecting to login page

For some reason the latest version of Firefox doesn't like
the javascript which empties the cart on logout. As Ian points
out, there is code which tries to redirect to "about:blank"
and close the window (since the main context of the function
is the Cart's popup window.

This patch adds a parameter to the delBasket function so
that we can pass a "popup" context to the function and
choose whether or not we want to ask JS to close the window.

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit d139d400b11e76f19ed208d4898d57f678acf9f4)

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