diff --git a/plugins/shopping_cart/views/shopping_cart_plugin/buy.html.erb b/plugins/shopping_cart/views/shopping_cart_plugin/buy.html.erb index 25ff05c..9fe15f4 100644 --- a/plugins/shopping_cart/views/shopping_cart_plugin/buy.html.erb +++ b/plugins/shopping_cart/views/shopping_cart_plugin/buy.html.erb @@ -24,7 +24,6 @@ <% end %> <% delivery_option = @settings.delivery_options.first && @settings.delivery_options.first.first %> <%= items_table(@cart[:items], @profile, delivery_option) %> - <%= link_to_function '', "noosfero.modal.close();", :class => 'cart-box-close icon-cancel' %> <%= javascript_include_tag '../plugins/shopping_cart/buy' %> diff --git a/plugins/shopping_cart/views/shopping_cart_plugin_profile/buy.html.erb b/plugins/shopping_cart/views/shopping_cart_plugin_profile/buy.html.erb index 5e44cd9..593f6a9 100644 --- a/plugins/shopping_cart/views/shopping_cart_plugin_profile/buy.html.erb +++ b/plugins/shopping_cart/views/shopping_cart_plugin_profile/buy.html.erb @@ -17,7 +17,6 @@ <% end %> <%= items_table(session[:cart][:items], profile) %> - <%= link_to_function '', "noosfero.modal.close();", :class => 'cart-box-close icon-cancel' %>