zberentey/liferay-portal — pull request #65 by vilmospapp (2012-05-15 13:41:13+00:00)
Title: LPS-27247 Fixing regression bug caused by LPS-26536

Hi Zsolt,

One of my Technical Support type commits caused this regression. The problem occurs in JavaScript when user tries to remove a CKEditor which is added as a repeatable element but because I used elName it won't have unique name. Using elInstanceId is not good solution as this way the original issue would show up again, so I created a repeat counter for each repeatable elements and added it to the names of the controls. This way we have unique names, but the original issue (LPS-26536) will be fixed as well.

cc-ing @KocsisDaniel as he reviewed the original code and another related to this fix (LPS-27243)