]> git.koha-community.org Git - koha.git/commit
Bug 22419: Records listed twice when select/unselect all from the cart
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 5 Mar 2019 18:16:44 +0000 (15:16 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 7 Mar 2019 20:53:28 +0000 (20:53 +0000)
commita0e10d97223ae2945f6ac64b7d86f4ac2fea9e03
treedf0d61d60d7341c42393760c4f2a2f605428cb8b
parent1f2685f7d4965d6aa4a25be81aebf91b1ed01b33
Bug 22419: Records listed twice when select/unselect all from the cart

It fixes a browser timeout when records are removed from the cart.
The onchange event already call selRecord.

Test plan:
Launch a search
Add all the result to your cart
Open the cart
Click "select all"
Then remove them all from your cart
=> Without this patch the action will timeout
=> With this patch applied the action is immediate

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/js/cart.js