From a9ad60b143c19066953ef2ce9487c647bb6dd162 Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Mon, 18 Feb 2013 17:32:02 -0300 Subject: [PATCH] Fixing Microdata variable name class on shopping cart --- plugins/shopping_cart/public/cart.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/shopping_cart/public/cart.js b/plugins/shopping_cart/public/cart.js index 58cc1ab..58f3ff9 100644 --- a/plugins/shopping_cart/public/cart.js +++ b/plugins/shopping_cart/public/cart.js @@ -65,7 +65,7 @@ function Cart(config) { ).appendTo(li); var input = $("input", li)[0]; input.lastValue = input.value; - input.itemId = item.id; + input.productId = item.id; input.ajustSize = function() { var len = this.value.toString().length; if(len > 2) len--; @@ -73,7 +73,7 @@ function Cart(config) { }; input.ajustSize(); input.onchange = function() { - me.updateQuantity(this, this.itemId, this.value); + me.updateQuantity(this, this.productId, this.value); }; // document.location.href = "#"+liId; // document.location.href = "#"+this.cartElem.id; -- libgit2 0.21.2