Bugzilla – Attachment 147357 Details for
Bug 32822
Fix cataloguing/value_builder/unimarc_field_010.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32822: Fix cataloguing/value_builder/unimarc_field_010.pl
Bug-32822-Fix-cataloguingvaluebuilderunimarcfield0.patch (text/plain), 1.36 KB, created by
Nick Clemens (kidclamp)
on 2023-02-24 16:27:53 UTC
(
hide
)
Description:
Bug 32822: Fix cataloguing/value_builder/unimarc_field_010.pl
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2023-02-24 16:27:53 UTC
Size:
1.36 KB
patch
obsolete
>From e2b5543a332efc217203801d93a396ac41d9ea89 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 32822: Fix cataloguing/value_builder/unimarc_field_010.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_010.pl | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/cataloguing/value_builder/unimarc_field_010.pl b/cataloguing/value_builder/unimarc_field_010.pl >index 00f5eb05b1..a2bb52f364 100755 >--- a/cataloguing/value_builder/unimarc_field_010.pl >+++ b/cataloguing/value_builder/unimarc_field_010.pl >@@ -29,8 +29,8 @@ sub plugin_javascript { > my ($dbh,$record,$tagslib,$field_number) = @_; > my $res=" > <script> >- function Blur$field_number() { >- var isbn = document.getElementById('$field_number'); >+ function Blur$field_number(ev) { >+ var isbn = document.getElementById(ev.data.id); > var url = '../cataloguing/plugin_launcher.pl?plugin_name=unimarc_field_010.pl&isbn=' + isbn.value; > var req = \$.get(url); > req.done(function(resp){ >-- >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 32822
:
146080
|
146930
| 147357