socialforge/app/views/files/update_file_description.js.erb

4 lines
280 B
Plaintext
Raw Normal View History

2016-06-16 14:04:12 +08:00
$("#file_description_show_<%= @attachment.id %>").html("<%= escape_javascript render(:partial => "files/file_description", :locals => {:file => @attachment}) %>");
$("#file_description_show_<%= @attachment.id %>").show();
$("#file_description_edit_<%= @attachment.id %>").hide();