From 13583f20ef8c3d0af2f0b246ff8e3bba7e4da88f Mon Sep 17 00:00:00 2001 From: Arthur Del Esposte Date: Wed, 17 Jun 2015 17:48:41 +0000 Subject: [PATCH] Removing unnecessary button from shopping_cart's modal views --- plugins/shopping_cart/views/shopping_cart_plugin/buy.html.erb | 1 - plugins/shopping_cart/views/shopping_cart_plugin_profile/buy.html.erb | 1 - 2 files changed, 0 insertions(+), 2 deletions(-) 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' %>