Bug 32877: Fix cataloguing/value_builder/upload.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: Lucas Gass <lucas@bywatersolutions.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Julian Maurice 2023-02-03 11:58:55 +01:00 committed by Katrin Fischer
parent b19a9b3f40
commit 591d6abc1b
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 0 additions and 1 deletions

View File

@ -45,7 +45,6 @@ my $builder = sub {
return <<"SCRIPT";
<script>
function Click$params->{id}(event) {
event.preventDefault();
var index = event.data.id;
var str = document.getElementById(index).value;
var myurl, term;