Signed-off-by: alan <547533434@qq.com>
@ -275,6 +275,8 @@ class FilesController < ApplicationController
respond_to do |format|
format.js
end
@ -105,7 +105,7 @@
}
function course_attachmenttypes_searchex(value) {
<% if @course%>
<% if @course %>
$.ajax({
url: '<%=getattachtype_course_files_path(course_id: @course)%>',
type: "POST",
@ -15,7 +15,7 @@
</p>
<p style="margin-left:-20px;">
<span style="margin-left:10px;">
<%= f.text_field :wiki_page_title, :label => :label_wiki_page, :maxlength => 60, :disabled => @project.wiki.nil? %>
<%= f.text_field :wiki_page_title, :label => :label_wiki_page, :disabled => @project.wiki.nil? %>
</span>