summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug/create/create.html.tmpl
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2012-08-01 21:43:14 +0200
committerDave Lawrence <dlawrence@mozilla.com>2012-08-01 21:43:14 +0200
commit52e47412c7c56a25d28975a2316730adfbf65351 (patch)
tree429fe12bda7bf57fa392e30324466fde74799547 /template/en/default/bug/create/create.html.tmpl
parent4b858cb87eab51390095f98f6e98c20f20347f6f (diff)
downloadbugzilla-52e47412c7c56a25d28975a2316730adfbf65351.tar.gz
bugzilla-52e47412c7c56a25d28975a2316730adfbf65351.tar.xz
Bug 581538 - Hide (instead of showing as disabled) flags that aren't available for a specific component on enter_bug.cgi
Forgot to add periods at the end of the comments.
Diffstat (limited to 'template/en/default/bug/create/create.html.tmpl')
-rw-r--r--template/en/default/bug/create/create.html.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl
index d4e0d4c2a..62b2d6a60 100644
--- a/template/en/default/bug/create/create.html.tmpl
+++ b/template/en/default/bug/create/create.html.tmpl
@@ -106,7 +106,7 @@ function set_assign_to() {
var flag_rows = YAHOO.util.Dom.getElementsByClassName('bz_flag_type', 'tbody');
for (var i = 0; i < flag_rows.length; i++) {
// Each flag table row should have one flag form select element
- // We get the flag type id from the id attribute of the select
+ // We get the flag type id from the id attribute of the select.
var flag_select = YAHOO.util.Dom.getElementsByClassName('flag_select',
'select',
flag_rows[i])[0];
@@ -114,7 +114,7 @@ function set_assign_to() {
var can_set = flag_select.options.length > 1 ? 1 : 0;
var show = 0;
// Loop through the allowed flag ids for the selected component
- // and if we match, then show the row, otherwise hide the row
+ // and if we match, then show the row, otherwise hide the row.
for (var j = 0; j < flags[index].length; j++) {
if (flags[index][j] == type_id) {
show = 1;