- Add a Documents and Media portlet to the page.
- Create at least two folders.
- Click the cog icon -> Configuration
- Click 'Select' under Root Folder
- Click 'Choose' next to one of the created folders (i.e. Folder A)
- Click 'Select' again and choose a different folder. (i.e. Folder B)
- Click 'Select' one more time.
Folder B 'Choose' button is disabled, as it is already selected. And Folder A 'Choose' button is enabled.
Both 'Choose' buttons are disabled.
Note: The same issue occurs in the Documents and Media display portlet, Message Boards move category page, and it looks like most places using the Liferay.Util.selectEntity method.
Also, this same issue occurs if you click 'Remove' instead of selecting a different folder.