summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--StoneIsland/www/js/lib/account/OrdersView.js2
-rw-r--r--StoneIsland/www/js/lib/cart/CartSummary.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/StoneIsland/www/js/lib/account/OrdersView.js b/StoneIsland/www/js/lib/account/OrdersView.js
index 6465792f..d5130ded 100644
--- a/StoneIsland/www/js/lib/account/OrdersView.js
+++ b/StoneIsland/www/js/lib/account/OrdersView.js
@@ -118,6 +118,8 @@ var OrdersView = ScrollableView.extend({
console.log(order)
+ this.$rows.empty()
+
order.Items.forEach(function(item){
var $el = $("<div class='item'><img src='img/spinner.gif'></div>")
this.$rows.append($el)
diff --git a/StoneIsland/www/js/lib/cart/CartSummary.js b/StoneIsland/www/js/lib/cart/CartSummary.js
index fea0228c..72c44405 100644
--- a/StoneIsland/www/js/lib/cart/CartSummary.js
+++ b/StoneIsland/www/js/lib/cart/CartSummary.js
@@ -65,8 +65,6 @@ var CartSummary = ScrollableView.extend({
var $el = $("<div>").addClass("cart_item_row")
$el.html("<img src='img/spinner.gif'>")
- this.$rows.append($el)
-
$el.data({
code: code_ten,
size: size_id,