From 12083a2cf803acab0f1d9f1cb32b4ccf2f94881b Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Sat, 23 Apr 2011 02:15:59 -0300 Subject: [PATCH] JS, CSS and HTML. --- plugins/shopping_cart/public/cart.js | 1 - plugins/shopping_cart/views/cart.html.erb | 1 - 2 files changed, 0 insertions(+), 2 deletions(-) diff --git a/plugins/shopping_cart/public/cart.js b/plugins/shopping_cart/public/cart.js index 76f237f..03d8eb9 100644 --- a/plugins/shopping_cart/public/cart.js +++ b/plugins/shopping_cart/public/cart.js @@ -14,7 +14,6 @@ function Cart(config) { $(".cart-buy", this.cartElem).colorbox({href: '/profile/' + this.enterprise + '/plugins/shopping_cart/buy'}); this.listProducts(); } - } (function($){ diff --git a/plugins/shopping_cart/views/cart.html.erb b/plugins/shopping_cart/views/cart.html.erb index e9c84ec..c203a5c 100644 --- a/plugins/shopping_cart/views/cart.html.erb +++ b/plugins/shopping_cart/views/cart.html.erb @@ -1,4 +1,3 @@ -<% enterprise_identifier = !locals[:cart].nil? ? Enterprise.find(locals[:cart][:enterprise_id]).identifier : 'bli'%>