summaryrefslogtreecommitdiffstats
path: root/extensions/GuidedBugEntry/web/js/guided.js
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2012-10-16 09:39:40 +0200
committerByron Jones <bjones@mozilla.com>2012-10-16 09:39:40 +0200
commit7d0b9d75d0c57661729ff931ee283675016b53f2 (patch)
treee13f1de521657d5d75e5d5e669288b782f1d90bc /extensions/GuidedBugEntry/web/js/guided.js
parent6ab27a576d4a3d1a00ecb62afc9ce67fb0f68319 (diff)
downloadbugzilla-7d0b9d75d0c57661729ff931ee283675016b53f2.tar.gz
bugzilla-7d0b9d75d0c57661729ff931ee283675016b53f2.tar.xz
Bug 800691: guided bug entry - thunderbird - default to Untriaged and remove General components
Diffstat (limited to 'extensions/GuidedBugEntry/web/js/guided.js')
-rw-r--r--extensions/GuidedBugEntry/web/js/guided.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/extensions/GuidedBugEntry/web/js/guided.js b/extensions/GuidedBugEntry/web/js/guided.js
index e98237fab..1883e4eb6 100644
--- a/extensions/GuidedBugEntry/web/js/guided.js
+++ b/extensions/GuidedBugEntry/web/js/guided.js
@@ -624,6 +624,11 @@ var bugForm = {
}
Dom.get('submit').disabled = false;
+ // filter components
+ if (products[productName] && products[productName].componentFilter) {
+ product.details.components = products[productName].componentFilter(product.details.components);
+ }
+
// build components
var elComponent = Dom.get('component');