快捷菜单上传文件使用最新的上传方式

This commit is contained in:
ouyangxuhua 2016-01-08 20:09:57 +08:00
parent 0ac99571de
commit 5d819625c0
2 changed files with 2 additions and 2 deletions

View File

@ -826,6 +826,6 @@ class FilesController < ApplicationController
end
def upload_files_menu
p 1
end
end

View File

@ -1,5 +1,5 @@
<% if @project %>
$('#ajax-modal').html('<%= escape_javascript(render :partial => 'projects/upload_project_files_on_navbar',:locals => {:container => @project}) %>');
$('#ajax-modal').html('<%= escape_javascript(render :partial => 'files/upload_project_files',:locals => {:project => @project,:project_attachment_type => 1}) %>');
showModal('ajax-modal', '513px');
$('#ajax-modal').siblings().remove();
$('#ajax-modal').before("<a href='javascript:void(0)' onclick='hideModal();' style='margin-left: 480px;'><img src='/images/bid/close.png' width='26px' height='26px' /></a>");