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

2 lines
152 B
Plaintext

hideModal();
$("#resource_detail_<%=@file.id %>").html("<%= escape_javascript(render :partial=>'files/resource_detail',:locals => {:file => @file}) %>")