#1710 测试版--项目--作品下载:选择任意内容类型、文件类型,都弹出error的提示框

This commit is contained in:
z9hang 2014-12-26 15:35:38 +08:00
parent d2aef552e6
commit 68cadba317
1 changed files with 9 additions and 7 deletions

View File

@ -395,16 +395,18 @@ class FilesController < ApplicationController
render :layout => 'base_courses'
}
end
else
show_attachments @containers
@attachtype = params[:type].to_i
@contenttype = params[:contentType].to_s
respond_to do |format|
format.js
format.html
end
end
show_attachments @containers
@attachtype = params[:type].to_i
@contenttype = params[:contentType].to_s
respond_to do |format|
format.js
format.html
end
end
end