display barcode misfires
[xtuple] / lib / enyo-x / source / views / transaction_list.js
index 99ea887..e371c11 100644 (file)
@@ -24,7 +24,8 @@ trailing:true, white:true, strict:false*/
     events: {
       onProcessingChanged: "",
       onOrderChanged: "",
-      onShipmentChanged: ""
+      onShipmentChanged: "",
+      onUpdateHeader: ""
     },
     handlers: {
       onBarcodeCapture: "captureBarcode"
@@ -48,7 +49,11 @@ trailing:true, white:true, strict:false*/
       });
       if (models.length > 0) {
         this.transact(models, true, true);
+      } else {
+        inEvent.noItemFound = true;
       }
+
+      this.doUpdateHeader(inEvent);
     },
     /**
         Helper function for transacting `transact` on an array of models.