diff options
Diffstat (limited to 'data/rhbzpage.js')
-rw-r--r-- | data/rhbzpage.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/data/rhbzpage.js b/data/rhbzpage.js index b45d9e2..026e7ac 100644 --- a/data/rhbzpage.js +++ b/data/rhbzpage.js @@ -832,6 +832,7 @@ function parseBacktrace (ret) { function RHBZinit() { // inheritance ... call superobject's constructor var AbrtRE = new RegExp("^\\s*\\[abrt\\]"); + var FillMagicDoneRE = new RegExp("^\\s*\\[[0-9a-zA-Z]*\\]"); var btSnippet = ""; var signaturesCounter = 0; @@ -873,10 +874,10 @@ function RHBZinit() { getComponent())[0]; // filterByRegexp returns array, not string } - // fillInChipMagic needs to be fixed first, but it can wait. // TODO Get compiz bugs as well - if ((constantData.chipNames !== undefined) && - (XorgLogAttList[0] !== undefined) && + if ((constantData.chipNames) && + (XorgLogAttList[0]) && + (!FillMagicDoneRE.test(getSummary())) && (maintCCAddr === "xgl-maint@redhat.com")) { // Add find chip magic button var whiteboard_string = document.getElementById("status_whiteboard").value; |