修改bug《新建版本时输入wiki页面为非汉字类型且长度够长,点击提交报500错误》

Signed-off-by: alan <547533434@qq.com>
This commit is contained in:
alan 2014-10-28 19:48:51 +08:00
parent 521158a086
commit 95c2edad20
3 changed files with 4 additions and 2 deletions

View File

@ -275,6 +275,8 @@ class FilesController < ApplicationController
respond_to do |format|
format.js
end
end
end

View File

@ -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>
</p>
<p style="margin-left:-20px;">