commit 2f65ee7305abc0c737406fc402ac8fb7eaf3ee79
Author: Janet Yu <email address hidden>
Date: Sun Jan 11 12:05:53 2015 -0800
Prevent flash of left nav panels when loading page
In the left nav, only the panel group containing the panel for the current page
should be expanded. However, in the Chrome browser, all other panels in the
same dashboard are momentarily shown before being hidden. The flash of content
happens in the time between the page's template rendering the panels and the
JavaScript being run to hide the non-active panels. Prevent the flash by hiding
non-active panels in the template instead of using JavaScript to hide the
panels later.
Reviewed: https:/ /review. openstack. org/145654 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=2f65ee7305a bc0c737406fc402 ac8fb7eaf3ee79
Committed: https:/
Submitter: Jenkins
Branch: master
commit 2f65ee7305abc0c 737406fc402ac8f b7eaf3ee79
Author: Janet Yu <email address hidden>
Date: Sun Jan 11 12:05:53 2015 -0800
Prevent flash of left nav panels when loading page
In the left nav, only the panel group containing the panel for the current page
should be expanded. However, in the Chrome browser, all other panels in the
same dashboard are momentarily shown before being hidden. The flash of content
happens in the time between the page's template rendering the panels and the
JavaScript being run to hide the non-active panels. Prevent the flash by hiding
non-active panels in the template instead of using JavaScript to hide the
panels later.
Closes-Bug: 1408513 415998cf84fa497 4bbe39728eb
Change-Id: I8fde47f4a0d6b7