From a01c6f7687fcf05b83e8e7ad0a0b0178cd72c0c4 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Fri, 13 May 2011 12:43:11 +0200 Subject: Don't run chip magic on already triaged bugs. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix #96 Signed-off-by: Matěj Cepl --- data/lib/otherButtons.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'data/lib/otherButtons.js') 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(); -- cgit