From 59175f5a847893a74e825b276a73d5f8f7da014c Mon Sep 17 00:00:00 2001 From: phasefx Date: Wed, 11 Aug 2010 06:33:37 +0000 Subject: [PATCH] change Check Barcodes? checkbox in Volume/Item creator to Use Checkdigit. In addition to checking the barcodes, it also dictates whether the Auto-Generate Barcodes function will use checkdigits or not git-svn-id: svn://svn.open-ils.org/ILS/trunk@17167 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/opac/locale/en-US/lang.dtd | 4 ++-- Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Open-ILS/web/opac/locale/en-US/lang.dtd b/Open-ILS/web/opac/locale/en-US/lang.dtd index a1413abe03..575f100d53 100644 --- a/Open-ILS/web/opac/locale/en-US/lang.dtd +++ b/Open-ILS/web/opac/locale/en-US/lang.dtd @@ -2579,8 +2579,8 @@ - - + + diff --git a/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js b/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js index da73c5b397..d48b3ca164 100644 --- a/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js +++ b/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js @@ -351,7 +351,12 @@ g.generate_barcodes = function() { var barcodes = g.network.simple_request( 'AUTOGENERATE_BARCODES', - [ ses(), first_barcode, nodes.length - 1 ] + [ + ses(), + first_barcode, + nodes.length - 1, + $('check_barcodes').checked ? {} : { "checkdigit" : false } + ] ); if (typeof barcodes.ilsevent != 'undefined') { -- 2.11.0