]> git.koha-community.org Git - koha.git/commit
Bug 7466 - Cart notification popup should appear onscreen even when button isn't
authorOwen Leonard <oleonard@myacpl.org>
Tue, 24 Jan 2012 20:46:20 +0000 (15:46 -0500)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Mon, 20 Feb 2012 03:27:42 +0000 (22:27 -0500)
commite5b6e51b747fcfb09f09a47a95d0d2ee9d7d075a
tree926d4e1bbab732e38bb099e18d87dce7ee74e2aa
parentc0c7006213192958a0d0994abad7277cf6ce5dc2
Bug 7466 - Cart notification popup should appear onscreen even when button isn't

This patch compares the scroll position of the window with the page
position of the cart button and displays the cart notification
popup at the top of the visible page if the cart button has moved
offscreen.

Includes fix for OPAC and staff client.

Signed-off-by: Aleksa Vujicic <aleksa@catalyst.net.nz>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
(cherry picked from commit 1eb0cbc5bf728f6cdb64b5cf102f227df1efb617)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
(cherry picked from commit 53be89a5f03664ec64fe98dbd24bc3b8ca12f1d3)

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