aboutsummaryrefslogtreecommitdiffstats
path: root/data/lib
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-04-29 13:42:01 +0200
committerMatěj Cepl <mcepl@redhat.com>2011-04-29 13:42:01 +0200
commit123ad973ae839ae4c21ceea689a84b1430de0f82 (patch)
tree1ec4eac9d80dc6da193502cd596546c7e8beaa9f /data/lib
parent58d631cdccdda18ec6071444e5df5a4a6c35cefe (diff)
downloadbugzilla-triage-123ad973ae839ae4c21ceea689a84b1430de0f82.tar.gz
There is no <a name="add_comment"> in 4.0 BZ and it is not necessary anyway.
Diffstat (limited to 'data/lib')
-rw-r--r--data/lib/bzpage.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/lib/bzpage.js b/data/lib/bzpage.js
index 76dd1a7..ca3993a 100644
--- a/data/lib/bzpage.js
+++ b/data/lib/bzpage.js
@@ -415,7 +415,7 @@ function startup() {
// to be generally much more stable (even with other bugzillas, e.g.
// b.gnome.org)
// then some getElementById.
- var commentArea = document.getElementsByName("add_comment")[0].parentNode;
+ var commentArea = document.getElementsByClassName("bz_section_additional_comments")[0];
if (commentArea) {
var brElementPlacer = commentArea.getElementsByTagName("br");
brElementPlacer = brElementPlacer[0];