Bugzilla – Attachment 121080 Details for
Bug 28351
Cannot set restrictions when 'dateformat' is other than 'us'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[ALTERNATIVE] Bug 28351: (bug 26261) Fix datepicker for dateformat ne mm/dd/yyyy
Bug-28351-bug-26261-Fix-datepicker-for-dateformat-.patch (text/plain), 976 bytes, created by
Jonathan Druart
on 2021-05-18 07:11:43 UTC
(
hide
)
Description:
[ALTERNATIVE] Bug 28351: (bug 26261) Fix datepicker for dateformat ne mm/dd/yyyy
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-05-18 07:11:43 UTC
Size:
976 bytes
patch
obsolete
>From a3dd819d38b129ad55ea722fc6bafcf93c5b8101 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 18 May 2021 09:10:26 +0200 >Subject: [PATCH] Bug 28351: (bug 26261) Fix datepicker for dateformat ne > mm/dd/yyyy > >This patch restores the same code we have prior to bug 26261 >--- > koha-tmpl/intranet-tmpl/prog/js/calendar.js | 2 -- > 1 file changed, 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/calendar.js b/koha-tmpl/intranet-tmpl/prog/js/calendar.js >index 2b335ec9bcb..1f312e813da 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/calendar.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/calendar.js >@@ -192,8 +192,6 @@ $(document).ready(function () { > }).on("change", function () { > if (!is_valid_date($(this).val())) { > $(this).val(""); >- } else { >- $(this).datepicker("setDate",$(this).val()); > } > }); > // http://jqueryui.com/demos/datepicker/#date-range >-- >2.20.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 28351
:
121017
|
121068
|
121069
|
121070
|
121080
|
121163