orbit-personalproject/app/views/panel/personal_project/plugin/projects/toggle_enable.js.erb

3 lines
145 B
Plaintext
Raw Normal View History

2014-01-15 11:21:50 +00:00
$("#enable_<%= @bulletin.id %>").toggle();
$("#disable_<%= @bulletin.id %>").toggle();
$("#bulletin_<%= @bulletin.id %>").toggleClass('disable');