jonmak08/liferay-portal — pull request #1153 by mjbradford89 (2014-12-30 23:13:33+00:00)
Title: LPS-52381 - In Documents and Media configuration, user cannot select a folder again after being de-selected.

Hi Jon,

Attached is an update for https://issues.liferay.com/browse/LPS-52381.

This issue was present most places where we are using Liferay.Util.selectEntity like selecting a category, folder, organization etc... So I tried to make a fix in util.js that would fix all of these areas.

I also converted the removeFolderSelection method to removeEntitySelection so that it can be used more places and cut down on duplicate code.

If you think this change is too large for this issue or it should be handled in a more case by cases basis, just let me know and I can work on individual fixes for these issues.

Thanks!