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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 12 Mar 2019 08:44:29 +0000 (08:44 +0000)
commitf5d6b6e4e95e1850908fb73b88a36bd6d76b0f5c
treea5088f4514dd48e82856eef08983aeb8d5b830a0
parent6729f22ff015cd14c2356f44d7f30843a302937e
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>
(cherry picked from commit a0e10d97223ae2945f6ac64b7d86f4ac2fea9e03)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/js/cart.js