Bugzilla – Attachment 86129 Details for
Bug 22419
Removing multiple records from intranet cart causes browser timeout
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22419: Records listed twice when select/unselect all from the cart
Bug-22419-Records-listed-twice-when-selectunselect.patch (text/plain), 1.48 KB, created by
Katrin Fischer
on 2019-03-06 07:22:51 UTC
(
hide
)
Description:
Bug 22419: Records listed twice when select/unselect all from the cart
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2019-03-06 07:22:51 UTC
Size:
1.48 KB
patch
obsolete
>From da057eb04ffa842f414cb50fd6b0cc350afaf228 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 5 Mar 2019 15:16:44 -0300 >Subject: [PATCH] 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> >--- > koha-tmpl/intranet-tmpl/prog/js/cart.js | 2 -- > 1 file changed, 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/cart.js b/koha-tmpl/intranet-tmpl/prog/js/cart.js >index 2d801b602a..923ed3242a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/cart.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/cart.js >@@ -70,7 +70,6 @@ $(document).ready(function(){ > var checked = []; > $("#bookbag_form").checkCheckboxes("*", true).each( > function() { >- selRecord(this.value,true); > $(this).change(); > } > ); >@@ -80,7 +79,6 @@ $(document).ready(function(){ > var checked = []; > $("#bookbag_form").unCheckCheckboxes("*",true).each( > function() { >- selRecord(this.value,false); > $(this).change(); > } > ); >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 22419
:
85724
|
86110
|
86113
| 86129