Bugzilla – Attachment 166141 Details for
Bug 34263
Suspending holds consecutively populates previously used date falsely
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34263: QA follow-up: Use flatpickr .clear instead
Bug-34263-QA-follow-up-Use-flatpickr-clear-instead.patch (text/plain), 1.33 KB, created by
Pedro Amorim
on 2024-05-03 14:23:06 UTC
(
hide
)
Description:
Bug 34263: QA follow-up: Use flatpickr .clear instead
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2024-05-03 14:23:06 UTC
Size:
1.33 KB
patch
obsolete
>From 3d75e0b73badc5b3adb1f16cf6b189f92daf20ec Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Fri, 3 May 2024 14:22:13 +0000 >Subject: [PATCH] Bug 34263: QA follow-up: Use flatpickr .clear instead > >Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com> >--- > koha-tmpl/intranet-tmpl/prog/js/holds.js | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/holds.js b/koha-tmpl/intranet-tmpl/prog/js/holds.js >index 6bd669b843..e7a4ffa829 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/holds.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/holds.js >@@ -420,7 +420,7 @@ $(document).ready(function() { > </div>\ > "); > >- $("#suspend-modal-clear-date").on( "click", function() { $(".suspend-until").val(""); } ); >+ $("#suspend-modal-clear-date").on( "click", function() { $("#suspend-modal-until").flatpickr().clear(); } ); > > $("#suspend-modal-submit").on( "click", function( e ) { > e.preventDefault(); >@@ -440,7 +440,7 @@ $(document).ready(function() { > } > holdsTable.api().ajax.reload(); > }).done(function() { >- $(".suspend-until").val(""); // clean the input >+ $("#suspend-modal-until").flatpickr().clear(); // clean the input > $('#suspend-modal').modal('hide'); > }); > }); >-- >2.39.2
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 34263
:
166069
|
166140
|
166141
|
166397
|
166398