diff options
author | Matěj Cepl <mcepl@redhat.com> | 2011-05-13 12:43:11 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2011-05-13 12:43:11 +0200 |
commit | a01c6f7687fcf05b83e8e7ad0a0b0178cd72c0c4 (patch) | |
tree | 6f3fd1046d8597f35e00ec5b038990205084a945 /data | |
parent | 97f8f5ad45a8dfbde27f555eafec5d8318ad67b2 (diff) | |
download | bugzilla-triage-a01c6f7687fcf05b83e8e7ad0a0b0178cd72c0c4.tar.gz |
Don't run chip magic on already triaged bugs.
Fix #96
Signed-off-by: Matěj Cepl <mcepl@redhat.com>
Diffstat (limited to 'data')
-rw-r--r-- | data/lib/otherButtons.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/data/lib/otherButtons.js b/data/lib/otherButtons.js index 060ce16..12d0712 100644 --- a/data/lib/otherButtons.js +++ b/data/lib/otherButtons.js @@ -113,14 +113,16 @@ function addingEmbelishments(logList) { }, false); } + console.log("addingEmbelishments: isTriaged = " + isTriaged()); // TODO Get compiz bugs as well - if ((new Boolean(constantData.chipNames)) && (list.length > 0) + if ((new Boolean(constantData.chipNames)) + && (logList.length > 0) && (!isTriaged()) && (!FillMagicDoneRE.test(getSummary())) && (maintCCAddr == "xgl-maint@redhat.com")) { // Add find chip magic button - fillInChipMagic(list[0][1]); + fillInChipMagic(logList[0][1]); } - + // Add links for creating new bug in the same product // and same component addNewLinks(); |