summaryrefslogtreecommitdiffstats
path: root/extensions/BMO/template
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2013-06-14 22:52:52 +0200
committerDave Lawrence <dlawrence@mozilla.com>2013-06-14 22:52:52 +0200
commitecc2202beea420eb82034edc4f1a646178f6c785 (patch)
treed63b33774792f23e70d3b04b2b953b9350dcfe0f /extensions/BMO/template
parent3a3917c3e519e4438ed96b3a3a9ccdf4ba8a0047 (diff)
downloadbugzilla-ecc2202beea420eb82034edc4f1a646178f6c785.tar.gz
bugzilla-ecc2202beea420eb82034edc4f1a646178f6c785.tar.xz
Bug 883330 - Clone of a secure bug defaults to IN-secure (not hidden)
Diffstat (limited to 'extensions/BMO/template')
-rw-r--r--extensions/BMO/template/en/default/hook/bug/create/create-form.html.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/BMO/template/en/default/hook/bug/create/create-form.html.tmpl b/extensions/BMO/template/en/default/hook/bug/create/create-form.html.tmpl
index 6f88888f0..ed09886bc 100644
--- a/extensions/BMO/template/en/default/hook/bug/create/create-form.html.tmpl
+++ b/extensions/BMO/template/en/default/hook/bug/create/create-form.html.tmpl
@@ -36,9 +36,9 @@
[% BLOCK group_checkbox %]
<input type="checkbox" name="groups"
value="[% name FILTER none %]" id="group_[% name FILTER html %]"
- [% FOREACH g = group %]
- [% IF g.name == name %]
- [% ' checked="checked"' IF g.checked %]
+ [% FOREACH group = product.groups_available %]
+ [% IF group.name == name %]
+ [% ' checked="checked"' IF default.groups.contains(group.name) OR group.is_default %]
[% LAST %]
[% END %]
[% END %]