aboutsummaryrefslogtreecommitdiffstats
path: root/data/lib/bzpage.js
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-06-05 14:51:41 +0200
commit5f0cadb2b9b2929c63f2f35de14b63578efcc595 (patch)
tree5eb2c423dd2dc4a12d3aa937a3991385972cbb0a /data/lib/bzpage.js
parent5371dac76e4cfed85033ae0cf161d7ad2dbfb83f (diff)
downloadbugzilla-triage-5f0cadb2b9b2929c63f2f35de14b63578efcc595.tar.gz
There is no <a name="add_comment"> in 4.0 BZ and it is not necessary anyway.
Diffstat (limited to 'data/lib/bzpage.js')
-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];