Bugzilla – Attachment 146091 Details for
Bug 32826
Fix cataloguing/value_builder/unimarc_field_106.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32826: Fix cataloguing/value_builder/unimarc_field_106.pl
Bug-32826-Fix-cataloguingvaluebuilderunimarcfield1.patch (text/plain), 1.50 KB, created by
Julian Maurice
on 2023-02-03 12:45:40 UTC
(
hide
)
Description:
Bug 32826: Fix cataloguing/value_builder/unimarc_field_106.pl
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2023-02-03 12:45:40 UTC
Size:
1.50 KB
patch
obsolete
>From b597d092ae298c2388c7a5f5763de174e33a03ff Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Fri, 3 Feb 2023 11:58:51 +0100 >Subject: [PATCH] Bug 32826: Fix cataloguing/value_builder/unimarc_field_106.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_106.pl | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/cataloguing/value_builder/unimarc_field_106.pl b/cataloguing/value_builder/unimarc_field_106.pl >index 7b91dd4410..8be673369b 100755 >--- a/cataloguing/value_builder/unimarc_field_106.pl >+++ b/cataloguing/value_builder/unimarc_field_106.pl >@@ -32,9 +32,9 @@ my ($dbh,$record,$tagslib,$field_number) = @_; > my $function_name= "106".(int(rand(100000))+1); > my $res=" > <script> >-function Clic$field_number() { >- defaultvalue=document.getElementById(\"$field_number\").value; >- newin=window.open(\"../cataloguing/plugin_launcher.pl?plugin_name=unimarc_field_106.pl&index=$field_number&result=\"+defaultvalue,\"unimarc_field_106\",'width=500,height=400,toolbar=false,scrollbars=yes'); >+function Clic$field_number(ev) { >+ defaultvalue=document.getElementById(ev.data.id).value; >+ newin=window.open(\"../cataloguing/plugin_launcher.pl?plugin_name=unimarc_field_106.pl&index=\" + ev.data.id + \"&result=\"+defaultvalue,\"unimarc_field_106\",'width=500,height=400,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 32826
:
146091
|
146762
|
146936
|
147365
|
147366