diff options
author | Matěj Cepl <mcepl@redhat.com> | 2011-05-07 01:50:24 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2011-06-05 14:53:46 +0200 |
commit | 5ec547dc04fa7f79a66a15ef61da79cafb725bb7 (patch) | |
tree | 81762bf0ae7be176d2257bb2a09c715ce0989fb3 /data/lib | |
parent | 8e501abd49e5aeac70a84ceef96a72b5078df221 (diff) | |
download | bugzilla-triage-5ec547dc04fa7f79a66a15ef61da79cafb725bb7.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.js | 2 | ||||
-rw-r--r-- | data/lib/otherButtons.js | 4 |
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(); } /** |