Fix for quota initialization scripts
when rendered in a non-modal window - create instance/volume pages Fixes bug 1025482 Change-Id: I0a528b89d4e207c5a11126046d9b1e3c18f2cf51
This commit is contained in:
parent
6c766326b5
commit
f81afa6aa0
@ -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() {
|
||||
|
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user