This commit is contained in:
alan 2014-12-26 15:51:53 +08:00
commit 6192a36481
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