Bugzilla – Attachment 146931 Details for
Bug 32823
Fix cataloguing/value_builder/unimarc_field_100_authorities.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32823: Fix cataloguing/value_builder/unimarc_field_100_authorities.pl
Bug-32823-Fix-cataloguingvaluebuilderunimarcfield1.patch (text/plain), 1.29 KB, created by
David Nind
on 2023-02-18 23:02:02 UTC
(
hide
)
Description:
Bug 32823: Fix cataloguing/value_builder/unimarc_field_100_authorities.pl
Filename:
MIME Type:
Creator:
David Nind
Created:
2023-02-18 23:02:02 UTC
Size:
1.29 KB
patch
obsolete
>From 53c5a64c709ba33f329fb2feb291edf428f09801 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 32823: Fix > cataloguing/value_builder/unimarc_field_100_authorities.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 > >Signed-off-by: David Nind <david@davidnind.com> >--- > cataloguing/value_builder/unimarc_field_100_authorities.pl | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/cataloguing/value_builder/unimarc_field_100_authorities.pl b/cataloguing/value_builder/unimarc_field_100_authorities.pl >index f15185c430..a1a6b87be7 100755 >--- a/cataloguing/value_builder/unimarc_field_100_authorities.pl >+++ b/cataloguing/value_builder/unimarc_field_100_authorities.pl >@@ -30,7 +30,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 32823
:
146081
|
146759
|
146931
|
147358