Public bug reported:
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/templates/horizon/common/fields/_themable_select.html":
<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 %}
** Affects: horizon
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1658383
Title:
while I choosing “volume” for “image source” , "Type" can't be hide
Status in OpenStack Dashboard (Horizon):
New
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/templates/horizon/common/fields/_themable_select.html":
<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 %}
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1658383/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp