Collapse comment text when editing it
parent
f75546693d
commit
bfef679d5e
|
@ -432,6 +432,7 @@ function showEditComment(comment_id)
|
|||
submit_but.value = 'Save All Changes';
|
||||
but_wrapper.appendChild(submit_but);
|
||||
parent.appendChild(but_wrapper);
|
||||
showhide_comment(key, false);
|
||||
textarea.focus();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -531,6 +531,11 @@ input.required, select.required, span.required_explanation {
|
|||
margin: 0;
|
||||
}
|
||||
|
||||
.bz_comment textarea {
|
||||
margin: 8px 0;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.bz_first_comment_head, .bz_comment_head, .bz_comment_wthead {
|
||||
font-weight: normal;
|
||||
line-height: 32px;
|
||||
|
|
|
@ -121,10 +121,9 @@
|
|||
[% IF NOT wt_only %]
|
||||
<span class="bz_comment_number">
|
||||
[% IF (comment.author.id == user.id || !comment.count) && collision != 1 %]
|
||||
[<a href="#" onclick="showEditComment([% comment.id %]); return false;">Edit Comment</a>]
|
||||
[<a href="#" onclick="showEditComment([% comment.id %]); return false;">Edit</a>]
|
||||
[% END %]
|
||||
<a name="c[% comment.count %]"
|
||||
href="show_bug.cgi?id=[% bug.bug_id %]#c[% comment.count %]">
|
||||
<a name="c[% comment.count %]" href="show_bug.cgi?id=[% bug.bug_id %]#c[% comment.count %]">
|
||||
[%- comment_label FILTER html %]</a>
|
||||
</span>
|
||||
[% END %]
|
||||
|
|
Loading…
Reference in New Issue