[open-ils-commits] r10362 -
branches/rel_1_2_3/Open-ILS/xul/staff_client/server/circ
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Aug 14 13:01:25 EDT 2008
Author: phasefx
Date: 2008-08-14 13:01:23 -0400 (Thu, 14 Aug 2008)
New Revision: 10362
Modified:
branches/rel_1_2_3/Open-ILS/xul/staff_client/server/circ/copy_status.js
Log:
backport split on space and commas for item status file upload
Modified: branches/rel_1_2_3/Open-ILS/xul/staff_client/server/circ/copy_status.js
===================================================================
--- branches/rel_1_2_3/Open-ILS/xul/staff_client/server/circ/copy_status.js 2008-08-14 16:46:19 UTC (rev 10361)
+++ branches/rel_1_2_3/Open-ILS/xul/staff_client/server/circ/copy_status.js 2008-08-14 17:01:23 UTC (rev 10362)
@@ -293,7 +293,7 @@
var f = new util.file('');
var content = f.import_file( { 'title' : 'Import Barcode File', 'not_json' : true } );
if (!content) return;
- var barcodes = content.split(/\s+/);
+ var barcodes = content.split(/[,\s]+/);
if (barcodes.length > 0) {
JSAN.use('util.exec'); var exec = new util.exec();
var funcs = [];
More information about the open-ils-commits
mailing list