Bug 32812: Fix cataloguing/value_builder/barcode_manual.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 Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
8327b7d86e
commit
1aaf68d9e5
1 changed files with 2 additions and 1 deletions
|
@ -66,7 +66,8 @@ END_OF_JS
|
|||
my $js = <<END_OF_JS;
|
||||
<script>
|
||||
|
||||
function Click$function_name(id) {
|
||||
function Click$function_name(event) {
|
||||
const id = event.data.id;
|
||||
$scr
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue