summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authorColin Joy <bugzilla@colinjoy.net>2015-09-11 16:34:50 +0200
committerGervase Markham <gerv@gerv.net>2015-09-11 16:34:50 +0200
commita72defcf1b5f54c7da369c8fac49db1b350b6a0d (patch)
treeb2280c650d436c535b3cae88e43ff41a2c8689fb /template/en
parent9d64d1549fbe7ab27eafad03bb9db2b10bd7a629 (diff)
downloadbugzilla-a72defcf1b5f54c7da369c8fac49db1b350b6a0d.tar.gz
bugzilla-a72defcf1b5f54c7da369c8fac49db1b350b6a0d.tar.xz
Bug 1202588: Custom preference multiselect widget - size gets set to null. r=gerv
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/admin/params/common.html.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/template/en/default/admin/params/common.html.tmpl b/template/en/default/admin/params/common.html.tmpl
index db3bde777..fd9fd3ed1 100644
--- a/template/en/default/admin/params/common.html.tmpl
+++ b/template/en/default/admin/params/common.html.tmpl
@@ -32,7 +32,7 @@
<label for="[% param.name FILTER html %]-off">Off</label>
[% ELSIF param.type == "m" %]
[% boxSize = 5 %]
- [% boxSize = param.choices.size IF param.choices.size < 5 %]
+ [% SET boxSize = param.choices.size IF param.choices.size < 5 %]
<select multiple="multiple" size="[% boxSize FILTER html %]"
name="[% param.name FILTER html %]" id="[% param.name FILTER html %]">
@@ -48,7 +48,7 @@
name="[% param.name FILTER html %]"
value="[% Param(param.name) FILTER html %]"><br>
[% boxSize = 7 %]
- [% boxSize = 3 + param.choices.size IF param.choices.size < 7 %]
+ [% SET boxSize = 3 + param.choices.size IF param.choices.size < 7 %]
[% plist = Param(param.name).split(',') %]
<table id="table_[% param.name FILTER html %]" class="bz_default_hidden">