diff options
-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(); |