Files
orbit-basic/app/views/admin/attributes/toggle_enable.js.erb
T
2011-12-23 18:34:21 +08:00

3 lines
149 B
ERB

$("#enable_<%= @attribute.id %>").toggle();
$("#disable_<%= @attribute.id %>").toggle();
$("#attribute_<%= @attribute.id %>").toggleClass('disable');