summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2009-09-03 21:15:27 +0200
committerlpsolit%gmail.com <>2009-09-03 21:15:27 +0200
commit18f5eb175a9bc5cdb76ce611e07fead92804ed35 (patch)
treea7c309dcf3fc5623a327729f6874116e2a403560
parentcd86036b1f1115c268f500d82917202f600558bc (diff)
downloadbugzilla-18f5eb175a9bc5cdb76ce611e07fead92804ed35.tar.gz
bugzilla-18f5eb175a9bc5cdb76ce611e07fead92804ed35.tar.xz
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.tmpl4
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