Commit 13583f20ef8c3d0af2f0b246ff8e3bba7e4da88f

Authored by Arthur Esposte
1 parent ea74d2b3

Removing unnecessary button from shopping_cart's modal views

plugins/shopping_cart/views/shopping_cart_plugin/buy.html.erb
@@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
24 <% end %> 24 <% end %>
25 <% delivery_option = @settings.delivery_options.first && @settings.delivery_options.first.first %> 25 <% delivery_option = @settings.delivery_options.first && @settings.delivery_options.first.first %>
26 <%= items_table(@cart[:items], @profile, delivery_option) %> 26 <%= items_table(@cart[:items], @profile, delivery_option) %>
27 - <%= link_to_function '', "noosfero.modal.close();", :class => 'cart-box-close icon-cancel' %>  
28 </div> 27 </div>
29 28
30 <%= javascript_include_tag '../plugins/shopping_cart/buy' %> 29 <%= javascript_include_tag '../plugins/shopping_cart/buy' %>
plugins/shopping_cart/views/shopping_cart_plugin_profile/buy.html.erb
@@ -17,7 +17,6 @@ @@ -17,7 +17,6 @@
17 </div> 17 </div>
18 <% end %> 18 <% end %>
19 <%= items_table(session[:cart][:items], profile) %> 19 <%= items_table(session[:cart][:items], profile) %>
20 - <%= link_to_function '', "noosfero.modal.close();", :class => 'cart-box-close icon-cancel' %>  
21 </div> 20 </div>
22 21
23 <script type="text/javascript"> 22 <script type="text/javascript">