Bugzilla – Attachment 146137 Details for
Bug 32871
Fix cataloguing/value_builder/unimarc_field_225a.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32871: Fix cataloguing/value_builder/unimarc_field_225a.pl
Bug-32871-Fix-cataloguingvaluebuilderunimarcfield2.patch (text/plain), 1.82 KB, created by
Julian Maurice
on 2023-02-03 14:03:11 UTC
(
hide
)
Description:
Bug 32871: Fix cataloguing/value_builder/unimarc_field_225a.pl
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2023-02-03 14:03:11 UTC
Size:
1.82 KB
patch
obsolete
>From 9c0fefc5ae0dc745bf1b15fbcd94010b92bd2c6f Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Fri, 3 Feb 2023 11:58:55 +0100 >Subject: [PATCH] Bug 32871: Fix > cataloguing/value_builder/unimarc_field_225a.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_225a.pl | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/cataloguing/value_builder/unimarc_field_225a.pl b/cataloguing/value_builder/unimarc_field_225a.pl >index 31556ae506..1602ccb371 100755 >--- a/cataloguing/value_builder/unimarc_field_225a.pl >+++ b/cataloguing/value_builder/unimarc_field_225a.pl >@@ -62,7 +62,7 @@ sub plugin_javascript { > <script> > > >- function Clic$function_name(index) { >+ function Clic$function_name(event) { > /* find the 010a value and the 210c. it will be used in the popup to find possibles collections */ > var isbn_found = 0; > var editor_found = 0; >@@ -81,8 +81,8 @@ sub plugin_javascript { > } > } > >- defaultvalue = document.getElementById(\"$field_number\").value; >- window.open(\"../cataloguing/plugin_launcher.pl?plugin_name=unimarc_field_225a.pl&index=\"+index+\"&result=\"+defaultvalue+\"&editor_found=\"+editor_found,\"unimarc225a\",'width=500,height=400,toolbar=false,scrollbars=no'); >+ defaultvalue = document.getElementById(event.data.id).value; >+ window.open(\"../cataloguing/plugin_launcher.pl?plugin_name=unimarc_field_225a.pl&index=\"+event.data.id+\"&result=\"+defaultvalue+\"&editor_found=\"+editor_found,\"unimarc225a\",'width=500,height=400,toolbar=false,scrollbars=no'); > > } > </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 32871
:
146137
|
146805
|
150109