Bugzilla – Attachment 158711 Details for
Bug 35298
Flatpickr makes focus handler in dateaccessioned plugin useless
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35298: Remove focus handler from dateaccessioned plugin.
Bug-35298-Remove-focus-handler-from-dateaccessione.patch (text/plain), 1.04 KB, created by
Owen Leonard
on 2023-11-09 11:32:09 UTC
(
hide
)
Description:
Bug 35298: Remove focus handler from dateaccessioned plugin.
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2023-11-09 11:32:09 UTC
Size:
1.04 KB
patch
obsolete
>From ea980cfb52b5b9b17b879996420ed9aa4fa1d2f5 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Thu, 9 Nov 2023 08:05:34 +0000 >Subject: [PATCH] Bug 35298: Remove focus handler from dateaccessioned plugin. > >Test plan: >Verify that setting focus to date acquired field in items editor >fills date of today when field is empty but does not replace existing >date. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > cataloguing/value_builder/dateaccessioned.pl | 4 ---- > 1 file changed, 4 deletions(-) > >diff --git a/cataloguing/value_builder/dateaccessioned.pl b/cataloguing/value_builder/dateaccessioned.pl >index 0c14b96f11..808fc80116 100755 >--- a/cataloguing/value_builder/dateaccessioned.pl >+++ b/cataloguing/value_builder/dateaccessioned.pl >@@ -39,10 +39,6 @@ my $builder = sub { > }); > }); > >-function Focus$function_name(event) { >- set_to_today(event.data.id); >-} >- > function Click$function_name(event) { > set_to_today(event.data.id, 1); > return false; >-- >2.30.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 35298
:
158702
|
158711
|
158811