diff options
Diffstat (limited to 'bugzillaBugTriage.js')
-rw-r--r-- | bugzillaBugTriage.js | 5 |
1 files changed, 4 insertions, 1 deletions
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) { |