diff options
author | Colin Joy <bugzilla@colinjoy.net> | 2015-09-24 15:30:22 +0100 |
---|---|---|
committer | Gervase Markham <gerv@gerv.net> | 2015-09-24 15:30:22 +0100 |
commit | d5ac9ef92b52cad86add627570d4eb8ea606945e (patch) | |
tree | bfde54bdea1da06322fdc83ed5c7642a73f0c764 /template/en/default | |
parent | cea1aff94228a87d7a65c671d457ad6fc69a095f (diff) | |
download | bugs-d5ac9ef92b52cad86add627570d4eb8ea606945e.tar bugs-d5ac9ef92b52cad86add627570d4eb8ea606945e.tar.gz bugs-d5ac9ef92b52cad86add627570d4eb8ea606945e.tar.bz2 bugs-d5ac9ef92b52cad86add627570d4eb8ea606945e.tar.xz bugs-d5ac9ef92b52cad86add627570d4eb8ea606945e.zip |
Bug 1202588: Custom preference multiselect widget - size gets set to null. r=gerv
Diffstat (limited to 'template/en/default')
-rw-r--r-- | template/en/default/admin/params/common.html.tmpl | 4 |
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"> |