diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-10-23 01:53:57 +0200 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-10-23 01:53:57 +0200 |
commit | 4b2ebcb3563b85180485c94eaf9a0ed9d8110f6f (patch) | |
tree | 4815ab9c3ceb8c75212fc0b8dada1f1e24b31ae9 /template/en/default/bug | |
parent | ac80bc26485a46b4f2dca7013830e89546fa8d3c (diff) | |
download | bugzilla-4b2ebcb3563b85180485c94eaf9a0ed9d8110f6f.tar.gz bugzilla-4b2ebcb3563b85180485c94eaf9a0ed9d8110f6f.tar.xz |
Bug 473557: Make the "Collapse All Comments" link work properly even when
the "comment order" preference is set to "newest to oldest with description
at top"
r=mkanat, a=mkanat
Diffstat (limited to 'template/en/default/bug')
-rw-r--r-- | template/en/default/bug/comments.html.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/template/en/default/bug/comments.html.tmpl b/template/en/default/bug/comments.html.tmpl index 4f7795b12..580ba6b5e 100644 --- a/template/en/default/bug/comments.html.tmpl +++ b/template/en/default/bug/comments.html.tmpl @@ -82,9 +82,9 @@ <td> [% IF mode == "edit" %] <ul class="bz_collapse_expand_comments"> - <li><a href="#" onclick="toggle_all_comments('collapse', [% comments.size %]); + <li><a href="#" onclick="toggle_all_comments('collapse'); return false;">Collapse All Comments</a></li> - <li><a href="#" onclick="toggle_all_comments('expand', [% comments.size %]); + <li><a href="#" onclick="toggle_all_comments('expand'); return false;">Expand All Comments</a></li> [% IF user.settings.comment_box_position.value == "after_comments" && user.id %] <li class="bz_add_comment"><a href="#" |