Bugzilla – Attachment 166398 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.39 KB, created by
Nick Clemens (kidclamp)
on 2024-05-08 12:28:18 UTC
(
hide
)
Description:
Bug 34263: (QA follow-up): Use flatpickr .clear instead
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2024-05-08 12:28:18 UTC
Size:
1.39 KB
patch
obsolete
>From 621c742f2548c5dc26eb362a5d72247f480e3d5c 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> >Signed-off-by: Nick Clemens <nick@bywatersolutions.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 6bd669b8438..e7a4ffa8293 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