Skip to content

Commit

Permalink
1.7.1dev: merge [17834] from 1.6-stable (fix for #13760)
Browse files Browse the repository at this point in the history
git-svn-id: http://trac.edgewall.org/intertrac/log:/trunk@17835 af82e41b-90c4-0310-8c96-b1721e28e2e2
  • Loading branch information
jomae committed Jun 25, 2024
2 parents 5d74101 + 92f432b commit e011e2d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions trac/ticket/templates/ticket.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@

${ super() }

# if ticket.exists:
<script src="${chrome.htdocs_location}js/threaded_comments.js"></script>
# endif
<script>
jQuery(function($) {
$("div.description").find("h1,h2,h3,h4,h5,h6")
Expand Down
1 change: 1 addition & 0 deletions trac/ticket/web_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -757,6 +757,7 @@ def add_ticket_link(css_class, id):
'changes': data['changes'],
})
add_stylesheet(req, 'common/css/ticket.css')
add_script(req, 'common/js/threaded_comments.js')
chrome = Chrome(self.env)
chrome.add_wiki_toolbars(req)
if not data['disable_submit']:
Expand Down

0 comments on commit e011e2d

Please sign in to comment.