[open-ils-commits] r15766 - trunk/Open-ILS/xul/staff_client/server/cat (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Mar 9 12:09:32 EST 2010
Author: phasefx
Date: 2010-03-09 12:09:29 -0500 (Tue, 09 Mar 2010)
New Revision: 15766
Modified:
trunk/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js
Log:
forgot this safety net
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-03-09 17:05:16 UTC (rev 15765)
+++ trunk/Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js 2010-03-09 17:09:29 UTC (rev 15766)
@@ -384,6 +384,8 @@
if (nodes.length < 1) { return; }
var first_barcode = nodes[0].value;
+ if (! first_barcode) { return; }
+
var barcodes = g.network.simple_request(
'AUTOGENERATE_BARCODES',
[ ses(), first_barcode, nodes.length - 1 ]
More information about the open-ils-commits
mailing list