Bugzilla – Attachment 171482 Details for
Bug 37524
Pressing "Renew all" redirects user to "Export data" tool if one of the items is not renewable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37524: (QA follow-up) Tidy affected block in checkouts.js
Bug-37524-QA-follow-up-Tidy-affected-block-in-chec.patch (text/plain), 1.70 KB, created by
Paul Derscheid
on 2024-09-13 15:32:00 UTC
(
hide
)
Description:
Bug 37524: (QA follow-up) Tidy affected block in checkouts.js
Filename:
MIME Type:
Creator:
Paul Derscheid
Created:
2024-09-13 15:32:00 UTC
Size:
1.70 KB
patch
obsolete
>From 4e26cb926955f768210a1b21b2a585b424e999b5 Mon Sep 17 00:00:00 2001 >From: Paul Derscheid <paul.derscheid@lmscloud.de> >Date: Fri, 13 Sep 2024 15:31:02 +0000 >Subject: [PATCH] Bug 37524: (QA follow-up) Tidy affected block in checkouts.js > >--- > koha-tmpl/intranet-tmpl/prog/js/checkouts.js | 12 +++++------- > 1 file changed, 5 insertions(+), 7 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >index ca3e2444c4..a27fd722cf 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >@@ -738,19 +738,18 @@ $(document).ready(function() { > return next(); > } > >- let item_ids = $(".renew:checked:visible").map((i, c) => c.value); >- >- if( item_ids.length > 0 ){ >+ let item_ids = $(".renew:checked:visible").map((_, c) => c.value); >+ if (item_ids.length > 0) { > renew_all(item_ids, renew).then(() => { > // Refocus on barcode field if it exists >- if ( $("#barcode").length ) { >+ if ($("#barcode").length) { > $("#barcode").focus(); > } > >- if ( refresh_table ) { >+ if (refresh_table) { > RefreshIssuesTable(); > } >- $('#RenewChecked, #CheckinChecked').prop('disabled' , true ); >+ $("#RenewChecked, #CheckinChecked").prop("disabled", true); > }); > > // Prevent form submit >@@ -758,7 +757,6 @@ $(document).ready(function() { > } else { > alert(_("There are no items to be renewed.")); > } >- > }); > > $("#RenewAll").on("click",function(){ >-- >2.46.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 37524
:
169859
|
169866
|
171481
| 171482