orbit-personalbook/app/views/panel/personal_book/back_end/writing_books/update_writing_book_setting...

10 lines
421 B
Plaintext
Raw Normal View History

2014-01-15 10:49:04 +00:00
<% if !@book_paper_type.blank? %>
$("#myModal1").modal('hide');
$("#<%= dom_id @book_paper_type %>").replaceWith("<%= j render :partial => 'list_paper_type', :collection => [@book_paper_type] %>");
<% end %>
<% if !@book_author_type.blank? %>
$("#myModal2").modal('hide');
$("#<%= dom_id @book_author_type %>").replaceWith("<%= j render :partial => 'list_author_type', :collection => [@book_author_type] %>");
<% end %>