sexy data-binding with knockout.js. huzzah it doing work for me
[omsmith/pos-js.git] / www / assets / js / client.js
index 8ad33b0..fe90241 100644 (file)
@@ -26,7 +26,7 @@ PosClientWrapper = function (authKey, serverLocation) {
 
                for (var i in selection) {
                        for (var q = 0; q < selection[i].quantity; q++) {
-                               upcs.push(i);
+                               upcs.push(selection[i].upc);
                        }
                }