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

dev_chuangbin
z9hang 11 years ago
parent d2aef552e6
commit 68cadba317

@ -395,8 +395,7 @@ class FilesController < ApplicationController
render :layout => 'base_courses' render :layout => 'base_courses'
} }
end end
end else
show_attachments @containers show_attachments @containers
@attachtype = params[:type].to_i @attachtype = params[:type].to_i
@contenttype = params[:contentType].to_s @contenttype = params[:contentType].to_s
@ -405,6 +404,9 @@ class FilesController < ApplicationController
format.js format.js
format.html format.html
end end
end
end end
end end

Loading…
Cancel
Save