Permalink
Browse files

Merge "Fix for quota initialization scripts"

  • Loading branch information...
2 parents 972802e + f81afa6 commit 0f0838017a365c368979eb46b12d169ee2aa06d0 Jenkins committed with openstack-gerrit Jul 27, 2012
View
2 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() {
View
2 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() {

0 comments on commit 0f08380

Please sign in to comment.