Bugzilla – Attachment 146073 Details for
Bug 32815
Fix cataloguing/value_builder/callnumber.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32815: Fix cataloguing/value_builder/callnumber.pl
Bug-32815-Fix-cataloguingvaluebuildercallnumberpl.patch (text/plain), 1.18 KB, created by
Julian Maurice
on 2023-02-03 11:18:06 UTC
(
hide
)
Description:
Bug 32815: Fix cataloguing/value_builder/callnumber.pl
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2023-02-03 11:18:06 UTC
Size:
1.18 KB
patch
obsolete
>From 22ecdba8ecf45a42f7f3cddfc514e13316504bac 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 32815: Fix cataloguing/value_builder/callnumber.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/callnumber.pl | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/cataloguing/value_builder/callnumber.pl b/cataloguing/value_builder/callnumber.pl >index 629f1c41c7..74dabaf182 100755 >--- a/cataloguing/value_builder/callnumber.pl >+++ b/cataloguing/value_builder/callnumber.pl >@@ -43,8 +43,8 @@ my $builder = sub { > my ( $params ) = @_; > my $res=" > <script> >- function Blur$params->{id}() { >- var code = document.getElementById('$params->{id}'); >+ function Blur$params->{id}(ev) { >+ var code = document.getElementById(ev.data.id); > var url = '../cataloguing/plugin_launcher.pl?plugin_name=callnumber.pl&code=' + code.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 32815
:
146073
|
146355
|
146356
|
147724