Commit eed377eb authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

The previous fix for bug 507389 was bogus, this one is fine, r=mkanat

parent 2039a990
...@@ -131,10 +131,12 @@ ...@@ -131,10 +131,12 @@
[% dontchange FILTER html %] [% dontchange FILTER html %]
</option> </option>
[% END %] [% END %]
[% IF NOT override_legal_values %] [% IF override_legal_values %]
[% override_legal_values = field.legal_values %] [% legal_values = override_legal_values %]
[% ELSE %]
[% legal_values = field.legal_values %]
[% END %] [% END %]
[% FOREACH legal_value = override_legal_values %] [% FOREACH legal_value = legal_values %]
[% SET control_value = legal_value.visibility_value %] [% SET control_value = legal_value.visibility_value %]
[% SET control_field = field.value_field %] [% SET control_field = field.value_field %]
<option value="[% legal_value.name FILTER html %]" <option value="[% legal_value.name FILTER html %]"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment