https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42012

Laura Escamilla <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #195599|0                           |1
        is obsolete|                            |

--- Comment #3 from Laura Escamilla <[email protected]> ---
Created attachment 195601
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=195601&action=edit
Bug 42012: Fix missing preventDefault() call in clubs.tt

e.preventDefault was missing parentheses, so the default
action was not prevented. The element is an <a href="#">
link, so clicking it causes the page to scroll to top

To test:

- On Staff side, go to Tools > Patron Clubs
- Create a Club Template, only name is needed
- Create a Club, only name is needed
- Go to a Patron's Check out page > Clubs > **Enroll** in the club
- Back on Tools > Clubs use the Actions menu to "Search to hold"
- The page scrolls to the top before redirecting
- Apply patch
- Repeat "Search to hold"
- Page does not scroll anymore but still redirects

Signed-Off-By: Eric Phetteplace <[email protected]>
Signed-off-by: Laura_Escamilla <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to