UI Enhancer initializes Table of Contents before page is ready

Description

We recommend that UI Enhancer component be instantiated as early as possible during page loading, but the Table of Contents subcomponent requires the page to be fully loaded in order to accurately determine what headings are present. Currently, the Table of Contents loads before the page is ready, and hence displays nothing in most cases.

To reproduce:
1) Visit the UIO demo at http://build.fluidproject.org/infusion/demos/uiOptions/html/uiOptions.html
2) Use the Fat Panel UIO to turn on the Table of Contents

  • you will see the live preview reveal a table of contents
    3) Hide the Fat Panel using the "Hide" button
    4) Reload the page. The Table of Contents preference has been saved, so the table of content should be visible on reload.

  • you will see that the table of contents is NOT showing anything.

One suggestion is so see if we can use the "createOnEvent" option to delay the Table of Contents instantiation until the page-ready event.

Bug Parade Infusion

Environment

FF5 on Mac OS X

Activity

Show:

Michelle D'Souza August 23, 2011 at 3:44 PM

Pull request merged into project repo at 6929f207c6445210452fb0d27a37c53a83edefeb

Justin Obara August 18, 2011 at 7:23 PM

Fixed

Details

Assignee

Reporter

Components

Fix versions

Priority

Created August 18, 2011 at 1:23 PM
Updated October 14, 2011 at 8:09 PM
Resolved August 23, 2011 at 3:45 PM