ivicac/liferay-portal — comment on commit 7881e16ddbc3227d530ead40d045d25a6e359dc9
File: portal-web/docroot/html/common/themes/bottom_js.jspf line 190
By ivicac:

Hi Juan,
this piece of code is creating a list of runtime portlet ids. So, this way, you will have on the client side a list of runtime portlet ids, the same way you already have a list of "normal" portlet ids through "Liferay.Portlet.list" variable. In my previous commit I fetched this list via selectors, but Nate said that I should put runtime portlets in Liferay.Portlet.list variable. But instead of that I have created a new list to distinguish runtime portlets from normal portlets because if they are in the same list, you will not be able to find out what are runtime portlets after in the code. The same behavior is on the server side. You have a list of normal porltets and a list of runtime portlets