Bugzilla – Attachment 146124 Details for
Bug 32859
Fix cataloguing/value_builder/unimarc_field_128b.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32859: Fix cataloguing/value_builder/unimarc_field_128b.pl
Bug-32859-Fix-cataloguingvaluebuilderunimarcfield1.patch (text/plain), 1.50 KB, created by
Julian Maurice
on 2023-02-03 13:37:14 UTC
(
hide
)
Description:
Bug 32859: Fix cataloguing/value_builder/unimarc_field_128b.pl
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2023-02-03 13:37:14 UTC
Size:
1.50 KB
patch
obsolete
>From e5966e6406a39a9ec033de7c9eb875e7125943e8 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Fri, 3 Feb 2023 11:58:54 +0100 >Subject: [PATCH] Bug 32859: Fix > cataloguing/value_builder/unimarc_field_128b.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_128b.pl | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > >diff --git a/cataloguing/value_builder/unimarc_field_128b.pl b/cataloguing/value_builder/unimarc_field_128b.pl >index 7d2e215fb8..f989845f1f 100755 >--- a/cataloguing/value_builder/unimarc_field_128b.pl >+++ b/cataloguing/value_builder/unimarc_field_128b.pl >@@ -33,9 +33,10 @@ my ($dbh,$record,$tagslib,$field_number) = @_; > my $function_name= $field_number; > my $res=" > <script> >-function Clic$function_name(i) { >- defaultvalue=document.getElementById(\"$field_number\").value; >- newin=window.open(\"../cataloguing/plugin_launcher.pl?plugin_name=unimarc_field_128b.pl&index=$field_number&result=\"+defaultvalue,\"unimarc_field_128b\",'width=1000,height=375,toolbar=false,scrollbars=yes'); >+function Clic$function_name(event) { >+ const id = event.data.id; >+ defaultvalue=document.getElementById(id).value; >+ newin=window.open(\"../cataloguing/plugin_launcher.pl?plugin_name=unimarc_field_128b.pl&index=\" + id + \"&result=\"+defaultvalue,\"unimarc_field_128b\",'width=1000,height=375,toolbar=false,scrollbars=yes'); > > } > </script> >-- >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 32859
:
146124
|
146795
|
148727
|
148877