ref: master
plugins/suppliers/views/suppliers_plugin_myprofile/toggle_active.js.erb
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');