socialforge/app/views/attachments/add_exist_file_to_courses.j...

8 lines
234 B
Plaintext
Raw Normal View History

<% if !@save_flag && @save_message %>
2014-11-20 17:44:30 +08:00
$("#error_show").html("<%= @save_message.join(', ') %>");
<% elsif @message && @message != "" %>
$("#error_show").html("<%= @message.html_safe %>");
2014-11-20 17:44:30 +08:00
<% else %>
closeModal();
<% end %>