Commit 12083a2cf803acab0f1d9f1cb32b4ccf2f94881b

Authored by Rodrigo Souto
1 parent 6a086072

JS, CSS and HTML.

Don't panic!  =D
plugins/shopping_cart/public/cart.js
@@ -14,7 +14,6 @@ function Cart(config) { @@ -14,7 +14,6 @@ function Cart(config) {
14 $(".cart-buy", this.cartElem).colorbox({href: '/profile/' + this.enterprise + '/plugins/shopping_cart/buy'}); 14 $(".cart-buy", this.cartElem).colorbox({href: '/profile/' + this.enterprise + '/plugins/shopping_cart/buy'});
15 this.listProducts(); 15 this.listProducts();
16 } 16 }
17 -  
18 } 17 }
19 18
20 (function($){ 19 (function($){
plugins/shopping_cart/views/cart.html.erb
1 -<% enterprise_identifier = !locals[:cart].nil? ? Enterprise.find(locals[:cart][:enterprise_id]).identifier : 'bli'%>  
2 <div id="cart1" class="cart" style="display:none" 1 <div id="cart1" class="cart" style="display:none"
3 data-l10nRemoveItem="<%=_('Are you sure you want to remove this item?')%>" 2 data-l10nRemoveItem="<%=_('Are you sure you want to remove this item?')%>"
4 data-l10nCleanCart="<%=_('Are you sure you want to clean your cart?')%>"> 3 data-l10nCleanCart="<%=_('Are you sure you want to clean your cart?')%>">