Bug 32867: Fix cataloguing/value_builder/unimarc_field_146i.pl
Remove unnecessary call to event.preventDefault()
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: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit bffb4fb0f4
)
Signed-off-by: Jacob O'Mara <jacobomara901@gmail.com>
This commit is contained in:
parent
e4849e1874
commit
48a26071ca
1 changed files with 0 additions and 1 deletions
|
@ -29,7 +29,6 @@ my $builder = sub {
|
|||
return qq|
|
||||
<script>
|
||||
function Click$id(event) {
|
||||
event.preventDefault();
|
||||
const value = document.getElementById(event.data.id).value;
|
||||
const url = new URL('/cgi-bin/koha/cataloguing/plugin_launcher.pl', location);
|
||||
url.searchParams.set('plugin_name', 'unimarc_field_146i.pl');
|
||||
|
|
Loading…
Reference in a new issue