]> git.evergreen-ils.org Git - Evergreen.git/commit
Throw out non-digit barcodes for strict check
authorThomas Berezansky <tsbere@mvlc.org>
Thu, 22 Sep 2011 13:24:56 +0000 (09:24 -0400)
committerMike Rylander <mrylander@gmail.com>
Tue, 15 Nov 2011 20:01:05 +0000 (15:01 -0500)
commit152c1f76c27fad50e1fbd4a494b7e0b251eb7b4f
tree75469a38d3184844bb2f04b5d6e7907309185f3e
parentca4ab76a356eca4d2043631d4d8c730f04f95f6d
Throw out non-digit barcodes for strict check

Characters like "." are valid for numbers, but not the algorithm.

Thus, we need to throw out "16.00" despite the check for
"16.00" == Number("16.00")
returning true.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/xul/staff_client/chrome/content/util/barcode.js