If one is adding to the cart using links in the search results page it is possible to be adding to the cart when the page has scrolled down so far that the cart button is off screen. The cart notification popup ("This item has been added to your cart"), being fixed to the cart button, will not be visible. Instead the cart notification popup should take the page scroll into account and always appear onscreen.
Created attachment 7326 [details] [review] Proposed fix 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.
Created attachment 7397 [details] [review] [SIGNED-OFF] 7326: Proposed fix
QA comment: tiny patch, nothing specific to say i've tested scrolling down & up, the popup always appear at the right place