diff options
-rw-r--r-- | BugZappers_data.json | 1 | ||||
-rw-r--r-- | bugzillaBugTriage.js | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/BugZappers_data.json b/BugZappers_data.json index 97303e7..d76aaef 100644 --- a/BugZappers_data.json +++ b/BugZappers_data.json @@ -89,6 +89,7 @@ "queryButton": true, "upstreamButton": false, "submitsLogging": false, + "parseAbrtBacktraces": false, "newUpstreamBug": [ ], "queryUpstreamBug": [ diff --git a/bugzillaBugTriage.js b/bugzillaBugTriage.js index 7eda565..cfc3025 100644 --- a/bugzillaBugTriage.js +++ b/bugzillaBugTriage.js @@ -95,6 +95,7 @@ var suspiciousComponents = []; var signatureFedoraString = ""; // TODO we should have an array SpecialFlags instead of multiple Boolean // variables +var parseAbrtBacktraces = false; var queryButtonAvailable = false; var upstreamButtonAvailable = false; var logSubmits = false; @@ -147,6 +148,7 @@ loadJSON(jsonDataURL, function(response) { defAssigneeList = response.defaultAssignee; queryButtonAvailable = response.queryButton; upstreamButtonAvailable = response.upstreamButton; + parseAbrtBacktraces = response.parseAbrtBacktraces; logSubmits = response.submitsLogging; newUpstreamBugsURLArray = response.newUpstreamBug; queryUpstreamBugsURLArray = response.queryUpstreamBug; @@ -2140,7 +2142,8 @@ function BzPage(doc) { // Dig out backtrace this.btSnippet = ""; - if (AbrtRE.test(this.title)) { + console.log("parseAbrtBacktraces = " + parseAbrtBacktraces); + if (parseAbrtBacktraces && AbrtRE.test(this.title)) { var notedLabel = this.dok.querySelector("label[for='newcc']"); while (notedLabel.firstChild) { |