Bug 134368 - Fix textarea + remove some code
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1818 6955db30-a419-402b-8a0d-67ecbb4d7f56master
parent
b0295a3fc0
commit
6b1c65a3a4
|
@ -1487,8 +1487,6 @@ sub _check_comment {
|
|||
|
||||
# Remove any trailing whitespace. Leading whitespace could be
|
||||
# a valid part of the comment.
|
||||
$comment =~ s/^\s+//;
|
||||
$comment =~ s/\s+$//;
|
||||
$comment =~ s/\s*$//s;
|
||||
$comment =~ s/\r\n?/\n/g; # Get rid of \r.
|
||||
|
||||
|
|
|
@ -173,7 +173,9 @@
|
|||
width: 100%; height: 150px; display: none;
|
||||
}
|
||||
</style>
|
||||
<textarea id="edit_comment_[% comment.id FILTER html %]" class="bz_textarea" name="edit_comment[[% comment.id FILTER html %]]">[%- comment.body_full() -%]</textarea>
|
||||
<textarea id="edit_comment_[% comment.id FILTER html %]" class="bz_textarea" name="edit_comment[[% comment.id FILTER html %]]">
|
||||
[%+ comment.body -%]
|
||||
</textarea>
|
||||
[% END %]
|
||||
</div>
|
||||
[% END %]
|
||||
|
|
Loading…
Reference in New Issue