[Koha-bugs] [Bug 32812] Fix cataloguing/value_builder/barcode_manual.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 16 11:36:41 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32812

--- Comment #3 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Julian Maurice from comment #1)
> Created attachment 146070 [details] [review]
> 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

Hmm. Really? It was in the EXAMPLE already in 2014.

commit 331cbeb1df86ed92843ac80b74952a085be556bc
Date:   Fri Oct 24 11:43:34 2014 +0200

+function Click$id(event) {
+    var fieldvalue=\$('#'+event.data.id).val();
+   
window.open(\"../cataloguing/plugin_launcher.pl?plugin_name=EXAMPLE.pl&index=\"+event.data.id+\"&result=\"+fieldvalue,\"tag_editor\",'width=700,height=700,toolbar=false,scrollbars=yes');
+    return false; // prevents scrolling
+}

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list