Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.3.0.GA_P02, 4.0
-
Fix Version/s: 4.0, EE-3.3.0.GA_P03
-
Component/s: ACE-Components
-
Labels:None
-
Environment:All
-
Assignee Priority:P2
-
Support Case References:Support Case #12901 - https://icesoft.my.salesforce.com/5007000000dEHMl
-
Affects:Documentation (User Guide, Ref. Guide, etc.)
Description
By default, the ace:dialog JS component will set initial focus to the first focussable element on the dialog when it is shown.
However, in some cases applications may not want to have the focus moved to the ace:dialog when it is shown. To facilitate this, we should add a new "none" value to the "setFocus" attribute on ace:dialog. When "setFocus='none'", the ace:dialog will not claim focus at all, leaving it to whatever element had it on the main page prior to the dialog being displayed.
However, in some cases applications may not want to have the focus moved to the ace:dialog when it is shown. To facilitate this, we should add a new "none" value to the "setFocus" attribute on ace:dialog. When "setFocus='none'", the ace:dialog will not claim focus at all, leaving it to whatever element had it on the main page prior to the dialog being displayed.
Modified ace:dialog to avoid applying any focus when 'setFocus' attribute is set to 'none'.