Bugzilla – Attachment 146071 Details for
Bug 32813
Fix cataloguing/value_builder/barcode.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32813: Fix cataloguing/value_builder/barcode.pl
Bug-32813-Fix-cataloguingvaluebuilderbarcodepl.patch (text/plain), 1.13 KB, created by
Julian Maurice
on 2023-02-03 11:14:17 UTC
(
hide
)
Description:
Bug 32813: Fix cataloguing/value_builder/barcode.pl
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2023-02-03 11:14:17 UTC
Size:
1.13 KB
patch
obsolete
>From f2ddeda53ebe5d21c0a6f60b59a6dbefd3c3f03c Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Fri, 3 Feb 2023 11:58:50 +0100 >Subject: [PATCH] Bug 32813: Fix cataloguing/value_builder/barcode.pl > >Use event parameter instead of id. > >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/barcode.pl | 12 +++++++----- > 1 file changed, 7 insertions(+), 5 deletions(-) > >diff --git a/cataloguing/value_builder/barcode.pl b/cataloguing/value_builder/barcode.pl >index e5a0966a63..bd4a927ef1 100755 >--- a/cataloguing/value_builder/barcode.pl >+++ b/cataloguing/value_builder/barcode.pl >@@ -86,14 +86,16 @@ END_OF_JS > > my $js = <<END_OF_JS; > <script> >- >-function Focus$function_name(id, force) { >+function set_barcode(id, force) { > $scr > } > >-function Click$function_name(id) { >- Focus$function_name(id, 1); >- return false; >+function Focus$function_name(event) { >+ set_barcode(event.data.id, false); >+} >+ >+function Click$function_name(event) { >+ set_barcode(event.data.id, true); > } > </script> > END_OF_JS >-- >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 32813
:
146071
|
146340
|
146354
|
146722