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

9 lines
280 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();
searchone4reload('<%=params[:file_id]%>');
2014-11-20 17:44:30 +08:00
<% end %>