Sha256: ddb51cf358831de33f44bb3fb3f35df2bf336c1f645195e21f3c009022155934

Contents?: true

Size: 357 Bytes

Versions: 4

Compression:

Stored size: 357 Bytes

Contents

$('#additions_body').html('<%= j(render partial: 'additions') %>');
$('#total_price').html('<%= j(render partial: 'total_price') %>');

<% if params[:add_id].present? %>
  $("#cart_item_<%= params[:add_id] %>").addClass('active');
<% end %>

<% if params[:remove_id].present? %>
  $("#cart_item_<%= params[:remove_id] %>").removeClass('active');
<% end %>

Version data entries

4 entries across 3 versions & 1 rubygems

Version Path
rails_trade-0.0.3 app/views/trade/admin/trade_items/total.js.erb
rails_trade-0.0.2 app/views/trade/admin/trade_items/total.js.erb
rails_trade-0.0.1 app/views/rails_trade_admin/cart_items/total.js.erb
rails_trade-0.0.1 app/views/rails_trade_my/cart_items/total.js.erb