diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-10-02 13:18:02 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-10-02 13:18:02 +0000 |
commit | 0f2026821ccbf09b6df07e5f0da349537e3d6d62 (patch) | |
tree | 2d0028e4d8dc43e3e9dffb6fcea243e901c61fce | |
parent | ddf249d7b055baf04aa592d3ea91f1c5acac260a (diff) | |
download | redmine-0f2026821ccbf09b6df07e5f0da349537e3d6d62.tar.gz redmine-0f2026821ccbf09b6df07e5f0da349537e3d6d62.zip |
Reduce max height of issue description textarea from 100 to 20 (#23840).
git-svn-id: http://svn.redmine.org/redmine/trunk@15884 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/views/issues/_form.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/issues/_form.html.erb b/app/views/issues/_form.html.erb index 1e82b6f84..e9f63d51a 100644 --- a/app/views/issues/_form.html.erb +++ b/app/views/issues/_form.html.erb @@ -29,7 +29,7 @@ <%= content_tag 'span', :id => "issue_description_and_toolbar", :style => (@issue.new_record? ? nil : 'display:none') do %> <%= f.text_area :description, :cols => 60, - :rows => (@issue.description.blank? ? 10 : [[10, @issue.description.length / 50].max, 100].min), + :rows => [[10, @issue.description.to_s.length / 50].max, 20].min, :accesskey => accesskey(:edit), :class => 'wiki-edit', :no_label => true %> |