]> 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 Cormack <chrisc@catalyst.net.nz>
Fri, 14 Oct 2011 02:57:45 +0000 (15:57 +1300)
commitd139d400b11e76f19ed208d4898d57f678acf9f4
tree0b4f0f22d83a165402c993513141634ba2142da1
parentf85c06d0c0330bc4512db8000b9898ac75fe7481
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>
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