]> 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)
committerDan Scott <dscott@laurentian.ca>
Wed, 9 May 2012 18:25:38 +0000 (14:25 -0400)
commitd1dc323481a52b1c04e5b3d4af1da171c01a6a24
treee47c52cfcc11957767d7948d081f55752cdec946
parenta8fc7e7a84bd94d2cd5f89ff38901cc716192f08
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: Dan Scott <dscott@laurentian.ca>
Open-ILS/xul/staff_client/chrome/content/util/barcode.js