]> 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)
committerPaul Poulain <paul.poulain@biblibre.com>
Fri, 3 Feb 2012 16:34:40 +0000 (17:34 +0100)
commit1eb0cbc5bf728f6cdb64b5cf102f227df1efb617
treef926adbd3580532816e3e310abbedff315f7e872
parenta406a5cbb08c351992280cfd77d98afe7543f329
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>
koha-tmpl/intranet-tmpl/prog/en/js/basket.js
koha-tmpl/opac-tmpl/prog/en/js/basket.js