$("#common_file_content").html('<%= escape_javascript(render :partial => 'common/file', :locals => {:filename => @path, :content => @content}) %>')
$("#file_action").html('<%= escape_javascript(render :partial => 'repositories/link_to_functions') %>');