aboutsummaryrefslogtreecommitdiffstats
path: root/data/lib/bzpage.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-06-11 02:05:42 +0200
committerMatěj Cepl <mcepl@redhat.com>2011-06-11 02:05:42 +0200
commit5ff3f1227c883ebaaa131665a7d75c10985ee43a (patch)
treec94803e4ef783de6cbfed6e388bee6dc1b428d14 /data/lib/bzpage.js
parentb7ffb79c7f7fc2c4f26d75bcf8402521352b873c (diff)
downloadbugzilla-triage-5ff3f1227c883ebaaa131665a7d75c10985ee43a.tar.gz
Adding external ticket reference.
Fix #106
Diffstat (limited to 'data/lib/bzpage.js')
-rw-r--r--data/lib/bzpage.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/data/lib/bzpage.js b/data/lib/bzpage.js
index 6b2a2f6..4401792 100644
--- a/data/lib/bzpage.js
+++ b/data/lib/bzpage.js
@@ -380,6 +380,13 @@ function startup() {
}
}
+ // Prepare for adding external bugs
+ var a0Elements = document.getElementsByName("a0");
+ if (a0Elements.length > 0) {
+ var extBugsHeadline = a0Elements[a0Elements.length - 1];
+ extBugsHeadline.setAttribute("id", "external_bugs_headline");
+ }
+
// TODO Probably could be ignored ... used only once on line 973 of
// rhbzpage.js
// if (parseAbrtBacktraces && this.RE.Abrt.test(getSummary())) {