diff options
author | lpsolit%gmail.com <> | 2009-09-03 19:17:32 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2009-09-03 19:17:32 +0000 |
commit | 29d17b0d1a731406c28990023a8a3acd2295b90f (patch) | |
tree | d493cd2de0b22f5fee90bc3cab534a894e119595 | |
parent | Bug 509794: Crash if setting a flag with Unicode characters in the name - Pat... (diff) | |
download | bugzilla-29d17b0d1a731406c28990023a8a3acd2295b90f.tar.gz bugzilla-29d17b0d1a731406c28990023a8a3acd2295b90f.tar.bz2 bugzilla-29d17b0d1a731406c28990023a8a3acd2295b90f.zip |
Bug 512616: "collapse/expand comment" removes css-class 'bz_comment_text' - Patch by nayuta <ganaware+bugzilla+mozilla+org@gmail.com> r=pyrzak a=LpSolit
-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 576b3f850..177c6f985 100644 --- a/template/en/default/bug/comments.html.tmpl +++ b/template/en/default/bug/comments.html.tmpl @@ -71,13 +71,13 @@ function collapse_comment(link, comment) { link.innerHTML = "[+]"; link.title = "Expand the comment."; - comment.className = "collapsed"; + YAHOO.util.Dom.addClass(comment, 'collapsed'); } function expand_comment(link, comment) { link.innerHTML = "[-]"; link.title = "Collapse the comment"; - comment.className = ""; + YAHOO.util.Dom.removeClass(comment, 'collapsed'); } /* This way, we are sure that browsers which do not support JS |