diff options
author | Matěj Cepl <mcepl@redhat.com> | 2011-04-29 13:42:01 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2011-04-29 13:42:01 +0200 |
commit | 123ad973ae839ae4c21ceea689a84b1430de0f82 (patch) | |
tree | 1ec4eac9d80dc6da193502cd596546c7e8beaa9f | |
parent | 58d631cdccdda18ec6071444e5df5a4a6c35cefe (diff) | |
download | bugzilla-triage-123ad973ae839ae4c21ceea689a84b1430de0f82.tar.gz |
There is no <a name="add_comment"> in 4.0 BZ and it is not necessary anyway.
-rw-r--r-- | data/lib/bzpage.js | 2 |
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]; |