Quota loading broken in non-modal loaded windows

Bug #1025482 reported by Tihomir Trifonov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Low
Tihomir Trifonov

Bug Description

When opening a form in non-modal window(like right-click, open from a table row action), if it contains quotas, the quota initialization fails, because the scripts:

    horizon.Quota.init()

and

    horizon.Quota.initWithFlavors()

are called before the horizon.quota.js script to be initialized(in the compressed .js file).

Changed in horizon:
assignee: nobody → Nebula (nebula)
importance: Undecided → Low
milestone: none → folsom-3
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/10275

Changed in horizon:
assignee: Nebula (nebula) → Tihomir Trifonov (ttrifonov)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/10275
Committed: http://github.com/openstack/horizon/commit/f81afa6aa0500c8819c0ca4f8105189e205fcc4d
Submitter: Jenkins
Branch: master

commit f81afa6aa0500c8819c0ca4f8105189e205fcc4d
Author: Tihomir Trifonov <email address hidden>
Date: Wed Jul 25 17:24:13 2012 +0300

    Fix for quota initialization scripts

    when rendered in a non-modal window -
    create instance/volume pages

    Fixes bug 1025482

    Change-Id: I0a528b89d4e207c5a11126046d9b1e3c18f2cf51

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: folsom-3 → 2012.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.