Bugzilla – Attachment 146802 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
Julian Maurice
on 2023-02-17 10:17:45 UTC
(
hide
)
Description:
Bug 32869: Fix cataloguing/value_builder/unimarc_field_210c.pl
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2023-02-17 10:17:45 UTC
Size:
1.47 KB
patch
obsolete
>From 2d0fdffff6dfca5e9c50a4f6abf6f170fd360b35 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