summaryrefslogtreecommitdiffstats
path: root/extensions/GuidedBugEntry/web/js
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2015-07-14 08:52:03 +0200
committerByron Jones <glob@mozilla.com>2015-07-14 08:52:03 +0200
commit425d780e7f77d8cc38191331cbcc84d7af5c871a (patch)
tree31cb71abdccc4d637c35b2769b7840b304a1e91b /extensions/GuidedBugEntry/web/js
parent940d6d427109280234dbdad8988b1c3dc7be5969 (diff)
downloadbugzilla-425d780e7f77d8cc38191331cbcc84d7af5c871a.tar.gz
bugzilla-425d780e7f77d8cc38191331cbcc84d7af5c871a.tar.xz
Bug 1173442 - Implement admin UI changes to allow selecting default product security group instead of editing code
Diffstat (limited to 'extensions/GuidedBugEntry/web/js')
-rw-r--r--extensions/GuidedBugEntry/web/js/guided.js10
1 files changed, 2 insertions, 8 deletions
diff --git a/extensions/GuidedBugEntry/web/js/guided.js b/extensions/GuidedBugEntry/web/js/guided.js
index 0ff438782..339a6fc65 100644
--- a/extensions/GuidedBugEntry/web/js/guided.js
+++ b/extensions/GuidedBugEntry/web/js/guided.js
@@ -189,13 +189,6 @@ var product = {
return;
}
- // use the correct security group
- if (products[productName] && products[productName].secgroup) {
- Dom.get('groups').value = products[productName].secgroup;
- } else {
- Dom.get('groups').value = products['_default'].secgroup;
- }
-
// show support message
if (products[productName] && products[productName].support) {
Dom.get("product_support_message").innerHTML = products[productName].support;
@@ -824,9 +817,10 @@ var bugForm = {
}
bugForm.onVersionChange(elVersions.value);
- // set default hw/os
+ // set default hw/os/group
Dom.get('rep_platform').value = product.details.default_platform;
Dom.get('op_sys').value = product.details.default_op_sys;
+ Dom.get('groups').value = product.details.default_security_group;
},
onComponentChange: function(componentName) {