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

9 lines
280 B
Plaintext

<% if !@save_flag && @save_message %>
$("#error_show").html("<%= @save_message.join(', ') %>");
<% elsif @message && @message != "" %>
$("#error_show").html("<%= @message.html_safe %>");
<% else %>
closeModal();
searchone4reload('<%=params[:file_id]%>');
<% end %>