Bugzilla – Attachment 146760 Details for
Bug 32824
Fix cataloguing/value_builder/unimarc_field_100.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32824: Fix cataloguing/value_builder/unimarc_field_100.pl
Bug-32824-Fix-cataloguingvaluebuilderunimarcfield1.patch (text/plain), 1.17 KB, created by
Julian Maurice
on 2023-02-17 10:10:21 UTC
(
hide
)
Description:
Bug 32824: Fix cataloguing/value_builder/unimarc_field_100.pl
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2023-02-17 10:10:21 UTC
Size:
1.17 KB
patch
obsolete
>From 8e2305c9d1d44a86a833bc961122594b89122906 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Fri, 3 Feb 2023 11:58:51 +0100 >Subject: [PATCH] Bug 32824: Fix cataloguing/value_builder/unimarc_field_100.pl > >Use event parameter > >This is part of the refactoring happening in bug 30975 > >Test plan: >1. Verify that the plugin continues to work as before >--- > cataloguing/value_builder/unimarc_field_100.pl | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/cataloguing/value_builder/unimarc_field_100.pl b/cataloguing/value_builder/unimarc_field_100.pl >index df4c970291..b3725ba6c6 100755 >--- a/cataloguing/value_builder/unimarc_field_100.pl >+++ b/cataloguing/value_builder/unimarc_field_100.pl >@@ -33,7 +33,9 @@ sub plugin_javascript { > my ( $dbh, $record, $tagslib, $field_number ) = @_; > my $res = " > <script> >- function Clic$field_number(i) { >+ function Clic$field_number(event) { >+ event.preventDefault(); >+ const i = event.data.id; > var defaultvalue; > try { > defaultvalue = document.getElementById(i).value; >-- >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 32824
:
146083
|
146760
|
146934
|
147364