Bugzilla – Attachment 166278 Details for
Bug 36774
Flatpickr clear() adds unintentional clear button
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36774: Ensure we are looking for a parent with the given class
Bug-36774-Ensure-we-are-looking-for-a-parent-with-.patch (text/plain), 1.04 KB, created by
Jonathan Druart
on 2024-05-07 12:54:56 UTC
(
hide
)
Description:
Bug 36774: Ensure we are looking for a parent with the given class
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2024-05-07 12:54:56 UTC
Size:
1.04 KB
patch
obsolete
>From 3a5c5072bfbe885b88ddf185ea9e78edfd8b3c53 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 7 May 2024 14:54:24 +0200 >Subject: [PATCH] Bug 36774: Ensure we are looking for a parent with the given > class > >And not one of its children >--- > koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc >index 4aa7b43151b..f7c27b29842 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc >@@ -62,7 +62,7 @@ > onReady: function( selectedDates, dateStr, instance ){ > /* When flatpickr instance is created, automatically append a "clear date" link */ > >- if( $(instance.input).parent().find('.flatpickr_wrapper').length ){ >+ if( $(instance.input).parent('.flatpickr_wrapper').length ){ > return; > } > >-- >2.34.1
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 36774
:
166138
|
166139
|
166162
|
166163
|
166278
|
166303
|
166304
|
166305
|
166383
|
166384
|
166385
|
166395
|
166396
|
166423
|
166424
|
166425
|
166427
|
166463
|
166464