toggle_active.js.erb 252 Bytes
jQuery('#supplier-<%=@supplier.id%>').toggleClass('supplier-inactive');
jQuery('#supplier-<%=@supplier.id%> .supplier-actions .deactivate').toggleClass('hidden');
jQuery('#supplier-<%=@supplier.id%> .supplier-actions .activate').toggleClass('hidden');