backport split on space and commas for item status file upload
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 14 Aug 2008 17:01:23 +0000 (17:01 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 14 Aug 2008 17:01:23 +0000 (17:01 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2_3@10362 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/server/circ/copy_status.js

index b84d2ff..5ee78b7 100644 (file)
@@ -293,7 +293,7 @@ circ.copy_status.prototype = {
                                                        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 = [];