14 lines
656 B
Plaintext
14 lines
656 B
Plaintext
<% if !@journal_level_type.blank? %>
|
|
$("#myModal1").modal('hide');
|
|
$("#<%= dom_id @journal_level_type %>").replaceWith("<%= j render :partial => 'list_level_type', :collection => [@journal_level_type] %>");
|
|
<% end %>
|
|
|
|
<% if !@journal_author_type.blank? %>
|
|
$("#myModal2").modal('hide');
|
|
$("#<%= dom_id @journal_author_type %>").replaceWith("<%= j render :partial => 'list_author_type', :collection => [@journal_author_type] %>");
|
|
<% end %>
|
|
|
|
<% if !@journal_paper_type.blank? %>
|
|
$("#myModal3").modal('hide');
|
|
$("#<%= dom_id @journal_paper_type %>").replaceWith("<%= j render :partial => 'list_paper_type', :collection => [@journal_paper_type] %>");
|
|
<% end %> |