Item status was, unlike other interfaces, doing the strict check, THEN
looking at the checkbox and if it was checked return.
This caused issues when the barcode crashes out the strict checking.
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
'test_barcode' : function(bc) {
var obj = this;
- var good = util.barcode.check(bc);
var x = document.getElementById('strict_barcode');
if (x && x.checked != true) { return true; }
+ var good = util.barcode.check(bc);
if (good) {
return true;
} else {