Assign js init methods with names
Bug #1347072 reported by
Thai Tran
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).
Changed in horizon: | |
assignee: | nobody → Thai Tran (tqtran) |
status: | New → In Progress |
Changed in horizon: | |
importance: | Undecided → Medium |
milestone: | none → kilo-1 |
tags: | added: horizon-core |
Changed in horizon: | |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | kilo-1 → 2015.1.0 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/108144 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=a7b06e3837c 8176837643e5372 dd49b1476f11ba
Committed: https:/
Submitter: Jenkins
Branch: master
commit a7b06e3837c8176 837643e5372dd49 b1476f11ba
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: I59aa4abf6c6867 5f7c5f2802682d7 3fb7beb7613
Closes-bug: #1347072