]> git.koha-community.org Git - koha.git/commit
Bug 18545 [Follow-up] Remove use of onclick from OPAC Cart
authorOwen Leonard <oleonard@myacpl.org>
Fri, 9 Jun 2017 15:50:41 +0000 (15:50 +0000)
committerMason James <mtj@kohaaloha.com>
Wed, 23 Aug 2017 10:14:38 +0000 (22:14 +1200)
commit372117c271ed22e77c67a72ec3956adc6bba32f3
tree7c27a1e26eae48e9a63da4f38662876550689084
parent596f6c0fca3d894c7f1e0c6d25c513c3df9caf12
Bug 18545 [Follow-up] Remove use of onclick from OPAC Cart

This patch makes a few corrections:

- Use 'e.preventDefault()' instead of 'return false' in changed
  sections.
- Modify the event handler on checkboxes to successfully handle the
  un-check action as well as the check action. (QA comment 5).

To test, follow the original test plan.

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
Signed-off-by: Jesse Maseto <jesse@bywatersolutions.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Mason James <mtj@kohaaloha.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt