Bugzilla – Attachment 148866 Details for
Bug 32846
Fix cataloguing/value_builder/unimarc_field_124d.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32846: Fix cataloguing/value_builder/unimarc_field_124d.pl
Bug-32846-Fix-cataloguingvaluebuilderunimarcfield1.patch (text/plain), 1.61 KB, created by
Nick Clemens (kidclamp)
on 2023-03-29 08:28:23 UTC
(
hide
)
Description:
Bug 32846: Fix cataloguing/value_builder/unimarc_field_124d.pl
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2023-03-29 08:28:23 UTC
Size:
1.61 KB
patch
obsolete
>From c6a58b6d6d5e199fd876f03910174b38f1d0bd7c Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Fri, 3 Feb 2023 11:58:53 +0100 >Subject: [PATCH] Bug 32846: Fix > cataloguing/value_builder/unimarc_field_124d.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> >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > cataloguing/value_builder/unimarc_field_124d.pl | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > >diff --git a/cataloguing/value_builder/unimarc_field_124d.pl b/cataloguing/value_builder/unimarc_field_124d.pl >index e65d93eaa2..720d65aa1b 100755 >--- a/cataloguing/value_builder/unimarc_field_124d.pl >+++ b/cataloguing/value_builder/unimarc_field_124d.pl >@@ -32,9 +32,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; >- window.open(\"../cataloguing/plugin_launcher.pl?plugin_name=unimarc_field_124d.pl&index=\"+i+\"&result=\"+defaultvalue,\"unimarc_field_124d\",'width=1000,height=375,toolbar=false,scrollbars=yes'); >+function Clic$function_name(event) { >+ event.preventDefault(); >+ defaultvalue=document.getElementById(event.data.id).value; >+ window.open(\"../cataloguing/plugin_launcher.pl?plugin_name=unimarc_field_124d.pl&index=\"+event.data.id+\"&result=\"+defaultvalue,\"unimarc_field_124d\",'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 32846
:
146111
|
146782
|
148711
| 148866