Assign js init methods with names

Bug #1347072 reported by Thai Tran
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
Thai Tran

Bug Description

Currently, we have old javascripts that automatically get initialized when the document is ready. This patch provides a mechanism to access those initialization code by assigning them a name.

Why do we need this? If we are to load things asynchronously (as in the case of angular), we need a mechanism to postpone initialization code until the data/layouts/etc.. are retrieved and rendered. This would also give us control over init code (not all are required all the time).

Tags: horizon-core
Changed in horizon:
assignee: nobody → Thai Tran (tqtran)
status: New → In Progress
David Lyle (david-lyle)
Changed in horizon:
importance: Undecided → Medium
milestone: none → kilo-1
tags: added: horizon-core
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/108144
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=a7b06e3837c8176837643e5372dd49b1476f11ba
Submitter: Jenkins
Branch: master

commit a7b06e3837c8176837643e5372dd49b1476f11ba
Author: Thai Tran <email address hidden>
Date: Mon Sep 29 18:07:20 2014 -0700

    Add init methods to javascript

    Currently, we have old javascripts that automatically get initialized when
    the document is ready. This patch provides a mechanism to access those
    initialization code by assigning them a name.

    Change-Id: I59aa4abf6c68675f7c5f2802682d73fb7beb7613
    Closes-bug: #1347072

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: kilo-1 → 2015.1.0
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.