Fix infinite spinner for Angular panels
Allow Angular panels to refresh when URI and the link location is the same. The solution is based off comments at http://stackoverflow.com/questions/16002984/angularjs-how-can-i-do-a-redirect-with-a-full-page-load Closes Bug: #1506211 Change-Id: Icb4f3fba8386eea90c782db65e8b3a62f649a1e8
This commit is contained in:
@@ -39,6 +39,7 @@
|
||||
{% for panel in filtered_panels %}
|
||||
<li class="panel openstack-panel{% if current.slug == dashboard.slug and current_panel == panel.slug %} active{% endif %}">
|
||||
<a class="openstack-spin" href="{{ panel.get_absolute_url }}"
|
||||
target="_self"
|
||||
tabindex="{{ forloop.counter }}" >
|
||||
{{ panel.name }}
|
||||
</a>
|
||||
|
||||
@@ -40,6 +40,7 @@
|
||||
{% for panel in filtered_panels %}
|
||||
<li class="openstack-panel{% if current.slug == dashboard.slug and current_panel == panel.slug %} active{% endif %}">
|
||||
<a class="openstack-spin" href="{{ panel.get_absolute_url }}"
|
||||
target="_self"
|
||||
tabindex="{{ forloop.counter }}" >
|
||||
{{ panel.name }}
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user