orbit-personalproject/app/views/panel/personal_project/back_end/projects/update_project_setting.js.erb

5 lines
213 B
Plaintext

<% if !@project_category.blank? %>
$("#myModal1").modal('hide');
$("#<%= dom_id @project_category %>").replaceWith("<%= j render :partial => 'list_project_type', :collection => [@project_category] %>");
<% end %>