forked from saurabh/personal-journal
15 lines
630 B
Plaintext
15 lines
630 B
Plaintext
|
|
<% if !@journal_level_type.blank? %>
|
|
$("#myModal1").modal('hide');
|
|
$('<%= j render :partial => 'list_level_type', :collection => [@journal_level_type] %>').appendTo('#level_types').hide().fadeIn();
|
|
<% end %>
|
|
|
|
<% if !@journal_author_type.blank? %>
|
|
$("#myModal2").modal('hide');
|
|
$('<%= j render :partial => 'list_author_type', :collection => [@journal_author_type] %>').appendTo('#author_types').hide().fadeIn();
|
|
<% end %>
|
|
|
|
<% if !@journal_paper_type.blank? %>
|
|
$("#myModal3").modal('hide');
|
|
$('<%= j render :partial => 'list_paper_type', :collection => [@journal_paper_type] %>').appendTo('#paper_types').hide().fadeIn();
|
|
<% end %> |