[
https://issues.apache.org/jira/browse/RAVE-816?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anthony Carlucci resolved RAVE-816.
-----------------------------------
Resolution: Fixed
Fix Version/s: 0.17
> Incorrect widget initialization order
> -------------------------------------
>
> Key: RAVE-816
> URL: https://issues.apache.org/jira/browse/RAVE-816
> Project: Rave
> Issue Type: Bug
> Affects Versions: 0.16
> Reporter: Anthony Carlucci
> Assignee: Anthony Carlucci
> Priority: Minor
> Fix For: 0.17
>
>
> The JavaScript algorithm for initializing widgets is supposed to render them
> in a left-to-right, then top-to-bottom order. This algorithm
> (rave.initializeWidgets) is relying on the insertion order of the regions
> into a JavaScript map object to control the order in which they are
> processed. However, this is an unreliable method as some browsers do not
> always preserve the insertion order of properties into a JavaScript object.
> Fix: Change the widgetsByRegionIdMap map object in rave.js to be an Array of
> objects instead, to preserve the order in which the regions are added.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira