while I choosing “volume” for “image source” , "Type" can't be hide
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Medium
|
Richard Jones |
Bug Description
the problem is found in newton-master
while creating volume, because of the "class" of "image source" lack of "switchable", while I choosing “volume” for “image source” , "Type" can't be hide.
I think that there is something error here in the file"horizon/
<select
{% if id %}
id="{{ id }}"{% endif %}
{% if name %}
name="{{ name }}"
{% endif %}
{% for k,v in select_attrs.items %}
{% if k != 'class' %}
{{ k|safe }}="{{ v }}"
{% endif %}
{% endfor %}
class="form-control switchable" will not be set to "image source", something is modified like this, it's Ok:
<select
{% if id %}
id="{{ id }}"{% endif %}
{% if name %}
name="{{ name }}"
{% endif %}
{% for k,v in select_attrs.items %}
{% if k != 'class' or 'switch' in v %}
{{ k|safe }}="{{ v }}"
{% endif %}
{% endfor %}
Changed in horizon: | |
status: | New → Triaged |
importance: | Undecided → Medium |
milestone: | none → pike-1 |
tags: | added: newton-backport-potential ocata-backport-potential |
Thanks for the report and fix!