aboutsummaryrefslogtreecommitdiffstats
path: root/data/lib
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-05-07 01:50:24 +0200
committerMatěj Cepl <mcepl@redhat.com>2011-05-07 01:50:24 +0200
commitec1d6396ad5457a06af6ab7a5293b6922a5708c6 (patch)
treec57832664faa652b5bcf97599eb1cb3b41bf238d /data/lib
parent9d6c70c656052e1c4f7df7a255c4f493d56f08c8 (diff)
downloadbugzilla-triage-ec1d6396ad5457a06af6ab7a5293b6922a5708c6.tar.gz
Make inline history (if it worked, that is ;)) configurable.
* JSON must contain configData.verboseInlineHistory * enable it for mozilla JSON per default * also move call of addNewLinks to bzpage.js
Diffstat (limited to 'data/lib')
-rw-r--r--data/lib/bzpage.js2
-rw-r--r--data/lib/otherButtons.js4
2 files changed, 5 insertions, 1 deletions
diff --git a/data/lib/bzpage.js b/data/lib/bzpage.js
index 35f993c..10c71fb 100644
--- a/data/lib/bzpage.js
+++ b/data/lib/bzpage.js
@@ -364,7 +364,7 @@ function completeInit() {
RHBZinit(attachments);
}
- if (tweakBugzilla) {
+ if (tweakBugzilla && config.verboseInlineHistory) {
tweakBugzilla(attachments, constantData);
}
}
diff --git a/data/lib/otherButtons.js b/data/lib/otherButtons.js
index 6fa48e0..f9346d8 100644
--- a/data/lib/otherButtons.js
+++ b/data/lib/otherButtons.js
@@ -123,6 +123,10 @@ function addingEmbelishments(list) {
fillInChipMagic(list[0][1]);
}
}
+
+ // Add links for creating new bug in the same product
+ // and same component
+ addNewLinks();
}
/**