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:
Rajat Vig
2015-10-15 00:27:13 -07:00
parent c1b9e05f32
commit 0be982942e
2 changed files with 2 additions and 0 deletions

View File

@@ -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>

View File

@@ -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>