FLUID-1574: Default role for Layout Reorderer/Layout Customizer is wrong

Metadata

Source
FLUID-1574
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Justin Obara
Reporter
Anastasia Cheetham
Created
2008-09-16T15:06:44.000-0400
Updated
2008-09-30T11:10:15.000-0400
Versions
N/A
Fixed Versions
  1. 0.5
Component
  1. Layout Reorderer
  2. Reorderer

Description

The default containerRole for the Layout Customizer/Layout Reorderer should be Regions (based on the most common use-case for the component, and ARIA requirements), but it defaults to the generic Reorderer default of List.

The moduleLayoutHandler tries to default to regions by doing
that.options.containerRole = that.options.containerRole || fluid.roles.REGIONS;
(ModuleLayout.js, line 147) but by the time this line is executed, the containerRole has already been set to the List default, and so isn't set to Regions.

Comments

  • Antranig Basman commented 2008-09-17T19:56:25.000-0400

    Fixed at revision 5559