Orbit/app/views/admin/roles/toggle_enable.js.erb

3 lines
146 B
Plaintext
Raw Normal View History

2013-01-08 08:58:01 +00:00
$("#enable_<%= @sub_role.id %>").toggle();
$("#disable_<%= @sub_role.id %>").toggle();
$("#attribute_<%= @sub_role.id %>").toggleClass('disable');