summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2016-01-04 23:47:11 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2016-01-04 23:47:11 +0100
commitf709156da6e562a4466d45c9422ff0a111aaa7e0 (patch)
tree7c358b7cc4b280176447f16fad3462fff067a446 /template/en/default/admin
parent9f5a8a28783f66b15973ac3714d10d1c0fa05f6d (diff)
downloadbugzilla-f709156da6e562a4466d45c9422ff0a111aaa7e0.tar.gz
bugzilla-f709156da6e562a4466d45c9422ff0a111aaa7e0.tar.xz
Bug 1191706: When editing flag types, components do not match the selected product when classifications are enabled
r=dkl
Diffstat (limited to 'template/en/default/admin')
-rw-r--r--template/en/default/admin/flag-type/edit.html.tmpl4
-rw-r--r--template/en/default/admin/flag-type/list.html.tmpl4
2 files changed, 4 insertions, 4 deletions
diff --git a/template/en/default/admin/flag-type/edit.html.tmpl b/template/en/default/admin/flag-type/edit.html.tmpl
index 6c0e0cb78..7505ebd8c 100644
--- a/template/en/default/admin/flag-type/edit.html.tmpl
+++ b/template/en/default/admin/flag-type/edit.html.tmpl
@@ -23,7 +23,7 @@
title = title
style_urls = ['skins/standard/admin.css']
onload="var f = document.forms['flagtype_properties'];
- selectProduct(f.product, f.component, null, null, '__Any__');"
+ selectProduct(f.product, f.component, '__Any__');"
javascript_urls=["js/productform.js"]
doc_section = "administering/flags.html"
%]
@@ -92,7 +92,7 @@
id => "product"
name => "product"
add => "__Any__"
- onchange => "selectProduct(this, this.form.component, null, null, '__Any__');"
+ onchange => "selectProduct(this, this.form.component, '__Any__');"
products => products
%]<br>
<select name="component">
diff --git a/template/en/default/admin/flag-type/list.html.tmpl b/template/en/default/admin/flag-type/list.html.tmpl
index b91b49199..b1665c3b0 100644
--- a/template/en/default/admin/flag-type/list.html.tmpl
+++ b/template/en/default/admin/flag-type/list.html.tmpl
@@ -11,7 +11,7 @@
[% PROCESS global/header.html.tmpl
title = 'Administer Flag Types'
style_urls = ['skins/standard/admin.css']
- onload="var f = document.flagtype_form; selectProduct(f.product, f.component, null, null, '__All__');"
+ onload="var f = document.flagtype_form; selectProduct(f.product, f.component, '__All__');"
javascript_urls=["js/productform.js"]
doc_section = "administering/flags.html"
%]
@@ -43,7 +43,7 @@
id => "product"
name => "product"
add => "__Any__"
- onchange => "selectProduct(this, this.form.component, null, null, '__Any__');"
+ onchange => "selectProduct(this, this.form.component, '__Any__');"
products => products
%]
</div>