Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.1, EE-2.0.0.GA, 2.0.2, 3.0
-
Fix Version/s: 3.0.1, EE-3.0.0.GA
-
Component/s: ICE-Components
-
Labels:None
-
Environment:Liferay Portal 6.0.6/Tomcat 6.0.29
Description
When opening a modal popup it sets the underlying input fields to have a tabindex or -1. This prevents the inputs from gaining focus when the user us tabbing. When the modal popup is closed it sets all these inputs back to 0 allowing them to gain focus and be selected.
In this case there are two modal popups being opened one after the other. A modal popup is opened via a button click, this popup contains another button which will hide the first popup and show a second modal popup. Upon closing of this second modal popup the tab indexes for the Liferay controls, Sign Out link, etc are not set back to 0 and remain at -1 which makes it not possible to select the links/inputs. All inputs on the portlet still work though.
This only occurs when two popups are opened consecutively and not an issue when a single popup is opened and closed.
In this case there are two modal popups being opened one after the other. A modal popup is opened via a button click, this popup contains another button which will hide the first popup and show a second modal popup. Upon closing of this second modal popup the tab indexes for the Liferay controls, Sign Out link, etc are not set back to 0 and remain at -1 which makes it not possible to select the links/inputs. All inputs on the portlet still work though.
This only occurs when two popups are opened consecutively and not an issue when a single popup is opened and closed.
Sample app that shows issue. Steps to reproduce:
After this if you open and close a single popup the link works again. Viewing the Sign out link in Firebug can show the changes of the tabindex value.