This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/app/views/admin/attributes/toggle_enable.js.erb

3 lines
149 B
Plaintext
Raw Permalink Normal View History

2011-12-23 10:34:21 +00:00
$("#enable_<%= @attribute.id %>").toggle();
$("#disable_<%= @attribute.id %>").toggle();
$("#attribute_<%= @attribute.id %>").toggleClass('disable');