Commit cacc0128c7d43ebe43c556b1050802dc859aa782
Exists in
master
and in
28 other branches
Merge commit 'refs/merge-requests/276' of git://gitorious.org/noosfero/noosfero …
…into merge-requests/276
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
plugins/shopping_cart/public/cart.js
... | ... | @@ -65,7 +65,7 @@ function Cart(config) { |
65 | 65 | ).appendTo(li); |
66 | 66 | var input = $("input", li)[0]; |
67 | 67 | input.lastValue = input.value; |
68 | - input.itemId = item.id; | |
68 | + input.productId = item.id; | |
69 | 69 | input.ajustSize = function() { |
70 | 70 | var len = this.value.toString().length; |
71 | 71 | if(len > 2) len--; |
... | ... | @@ -73,7 +73,7 @@ function Cart(config) { |
73 | 73 | }; |
74 | 74 | input.ajustSize(); |
75 | 75 | input.onchange = function() { |
76 | - me.updateQuantity(this, this.itemId, this.value); | |
76 | + me.updateQuantity(this, this.productId, this.value); | |
77 | 77 | }; |
78 | 78 | // document.location.href = "#"+liId; |
79 | 79 | // document.location.href = "#"+this.cartElem.id; | ... | ... |