42d622d1b2
Conflicts: app/assets/stylesheets/bootstrap_and_overrides.css.less app/views/orders/_articles.html.haml app/views/orders/show.html.haml
7 lines
319 B
Text
7 lines
319 B
Text
$('#articles_table').html('<%= j render(@partial, order: @order) %>');
|
|
|
|
$('.view_buttons a').each(function() {
|
|
$(this).toggleClass('active', $(this).attr('id') == 'view_<%= j params[:view] %>_btn');
|
|
});
|
|
|
|
activate_search('<%= j params[:view] %>', '<%= j I18n.t("orders.show.search_placeholder.#{params[:view]}") %>');
|