Opened 14 years ago
Last modified 4 years ago
#9227 closed defect
In the ticket change history list, comment div's are printed even with empty comments. — at Initial Version
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | 1.4.2 |
Component: | ticket system | Version: | 0.11-stable |
Severity: | trivial | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
The ticket change history list contain following div-tag on each change event even with empty comment.
<div class="comment searchable"> </div>
It is an issue when using different background color or border for the comment fields.
I've fixed this issue like this in the trac/ticket/templates/ticket.html file
76c76
< <div py:if="'comment' in change" class="comment searchable" xml:space="preserve">
---
> <div py:if="change.comment" class="comment searchable" xml:space="preserve">
Note:
See TracTickets
for help on using tickets.