Bugzilla – Attachment 150105 Details for
Bug 32869
Fix cataloguing/value_builder/unimarc_field_210c.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32869: Fix cataloguing/value_builder/unimarc_field_210c.pl
Bug-32869-Fix-cataloguingvaluebuilderunimarcfield2.patch (text/plain), 1.47 KB, created by
Katrin Fischer
on 2023-04-22 22:17:34 UTC
(
hide
)
Description:
Bug 32869: Fix cataloguing/value_builder/unimarc_field_210c.pl
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2023-04-22 22:17:34 UTC
Size:
1.47 KB
patch
obsolete
>From 83a3cf47214de5224dd4169391b6ac557dc66b38 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 32869: Fix > cataloguing/value_builder/unimarc_field_210c.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_210c.pl | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > >diff --git a/cataloguing/value_builder/unimarc_field_210c.pl b/cataloguing/value_builder/unimarc_field_210c.pl >index c9e1ebbcf8..8e7b837baf 100755 >--- a/cataloguing/value_builder/unimarc_field_210c.pl >+++ b/cataloguing/value_builder/unimarc_field_210c.pl >@@ -43,9 +43,10 @@ my $function_name= $field_number; > > my $res = " > <script> >-function Clic$function_name(subfield_managed) { >- defaultvalue=escape(document.getElementById(\"$field_number\").value); >- newin=window.open(\"../cataloguing/plugin_launcher.pl?plugin_name=unimarc_field_210c.pl&index=\"+subfield_managed,\"unimarc_225a\",'width=500,height=600,toolbar=false,scrollbars=yes'); >+function Clic$function_name(event) { >+ event.preventDefault(); >+ defaultvalue=escape(document.getElementById(event.data.id).value); >+ newin=window.open(\"../cataloguing/plugin_launcher.pl?plugin_name=unimarc_field_210c.pl&index=\" + event.data.id, \"unimarc_225a\",'width=500,height=600,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 32869
:
146134
|
146802
|
150104
| 150105