[open-ils-commits] r17167 - in trunk/Open-ILS: web/opac/locale/en-US xul/staff_client/server/cat (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Aug 11 02:33:41 EDT 2010
Author: phasefx
Date: 2010-08-11 02:33:37 -0400 (Wed, 11 Aug 2010)
New Revision: 17167
Modified:
trunk/Open-ILS/web/opac/locale/en-US/lang.dtd
trunk/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js
Log:
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
Modified: trunk/Open-ILS/web/opac/locale/en-US/lang.dtd
===================================================================
--- trunk/Open-ILS/web/opac/locale/en-US/lang.dtd 2010-08-11 06:33:34 UTC (rev 17166)
+++ trunk/Open-ILS/web/opac/locale/en-US/lang.dtd 2010-08-11 06:33:37 UTC (rev 17167)
@@ -2579,8 +2579,8 @@
<!ENTITY staff.cat.spine_labels.available_macros.label "Available Macros">
<!ENTITY staff.cat.volume_copy_creator.title "Volume and Copy Editor">
<!ENTITY staff.cat.volume_copy_creator.label "Volume and Copy Creator">
-<!ENTITY staff.cat.volume_copy_creator.check_barcodes.label "Check Barcodes?">
-<!ENTITY staff.cat.volume_copy_creator.check_barcodes.accesskey "B">
+<!ENTITY staff.cat.volume_copy_creator.check_barcodes.label "Use Checkdigit">
+<!ENTITY staff.cat.volume_copy_creator.check_barcodes.accesskey "t">
<!ENTITY staff.cat.volume_copy_creator.generate_barcodes.label "Auto-Generate Barcodes?">
<!ENTITY staff.cat.volume_copy_creator.generate_barcodes.accesskey "G">
<!ENTITY staff.cat.volume_copy_creator.print_labels.label "Print Labels?">
Modified: trunk/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js 2010-08-11 06:33:34 UTC (rev 17166)
+++ trunk/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js 2010-08-11 06:33:37 UTC (rev 17167)
@@ -351,7 +351,12 @@
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') {
More information about the open-ils-commits
mailing list