From cd45f7b4c0974b712019a9d9877b938190ae742e Mon Sep 17 00:00:00 2001 From: Chris Nighswonger Date: Sun, 10 Feb 2008 01:41:40 -0600 Subject: [PATCH] Changed behavior of barcode.pl plugin to generate barcode onClick of the ... button Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- cataloguing/value_builder/barcode.pl | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/cataloguing/value_builder/barcode.pl b/cataloguing/value_builder/barcode.pl index 185c23edc1..662b7c4843 100755 --- a/cataloguing/value_builder/barcode.pl +++ b/cataloguing/value_builder/barcode.pl @@ -78,6 +78,7 @@ sub plugin_javascript { my $nextnum; my $query; my $autoBarcodeType = C4::Context->preference("autoBarcode"); + warn "Barcode type = $autoBarcodeType"; unless ($autoBarcodeType eq 'OFF' or !$autoBarcodeType) { if ($autoBarcodeType eq 'annual') { @@ -105,11 +106,23 @@ sub plugin_javascript { "; -- 2.39.5