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

dev_chuangbin
z9hang 11 years ago
parent d2aef552e6
commit 68cadba317

@ -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

Loading…
Cancel
Save