summaryrefslogtreecommitdiffstats
path: root/extensions/GuidedBugEntry/web/js/products.js
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/GuidedBugEntry/web/js/products.js')
-rw-r--r--extensions/GuidedBugEntry/web/js/products.js16
1 files changed, 15 insertions, 1 deletions
diff --git a/extensions/GuidedBugEntry/web/js/products.js b/extensions/GuidedBugEntry/web/js/products.js
index 9f9b62a14..026e94f0d 100644
--- a/extensions/GuidedBugEntry/web/js/products.js
+++ b/extensions/GuidedBugEntry/web/js/products.js
@@ -94,7 +94,21 @@ var products = {
"Thunderbird": {
related: [ "Core", "Toolkit", "MailNews Core" ],
- detectPlatform: true
+ detectPlatform: true,
+ defaultComponent: "Untriaged",
+ componentFilter : function(components) {
+ var index = -1;
+ for (var i = 0, l = components.length; i < l; i++) {
+ if (components[i].name == 'General') {
+ index = i;
+ break;
+ }
+ }
+ if (index != -1) {
+ components.splice(index, 1);
+ }
+ return components;
+ }
},
"Penelope": {