summaryrefslogtreecommitdiff
path: root/horizon/dashboards/nova
diff options
context:
space:
mode:
Diffstat (limited to 'horizon/dashboards/nova')
-rw-r--r--horizon/dashboards/nova/instances/templates/instances/_launch_details_help.html2
-rw-r--r--horizon/dashboards/nova/volumes/templates/volumes/_create.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/horizon/dashboards/nova/instances/templates/instances/_launch_details_help.html b/horizon/dashboards/nova/instances/templates/instances/_launch_details_help.html
index 8803fda5..1742c87e 100644
--- a/horizon/dashboards/nova/instances/templates/instances/_launch_details_help.html
+++ b/horizon/dashboards/nova/instances/templates/instances/_launch_details_help.html
@@ -43,7 +43,7 @@
</div>
<script type="text/javascript" charset="utf-8">
- if(typeof horizon !== 'undefined') {
+ if(typeof horizon.Quota !== 'undefined') {
horizon.Quota.initWithFlavors({{ flavors|safe|default:"{}" }});
} else {
addHorizonLoadEvent(function() {
diff --git a/horizon/dashboards/nova/volumes/templates/volumes/_create.html b/horizon/dashboards/nova/volumes/templates/volumes/_create.html
index 868b1c99..8e014cad 100644
--- a/horizon/dashboards/nova/volumes/templates/volumes/_create.html
+++ b/horizon/dashboards/nova/volumes/templates/volumes/_create.html
@@ -41,7 +41,7 @@
</div>
<script type="text/javascript" charset="utf-8">
- if(typeof horizon !== 'undefined') {
+ if(typeof horizon.Quota !== 'undefined') {
horizon.Quota.init();
} else {
addHorizonLoadEvent(function() {