orbit-basic/app/views/admin/user_attribute_models/toggle_enable.js.erb

3 lines
182 B
Plaintext
Raw Normal View History

2011-05-02 04:07:31 +00:00
$("#enable_<%= @user_attribute_model.id %>").toggle();
2011-11-19 13:47:18 +00:00
$("#disable_<%= @user_attribute_model.id %>").toggle();
$("#attribute_<%= @user_attribute_model.id %>").toggleClass('disable');