Message Boards

Dockbar problem: Uncaught TypeError: A.DD is undefined

thumbnail
Abdollah Esmaeilpour, modified 2 Years ago.

Dockbar problem: Uncaught TypeError: A.DD is undefined

Junior Member Posts: 60 Join Date: 8/22/09 Recent Posts

In a page with classic theme, I have installed a portlet. When I open the dockbar to add an application, I cannot install any of the displayed portlets. Some portlet categories are open and others are closed. I cannot open any closed portlet categories either. By checking the browser console, I see the following JS error:

Uncaught TypeError: A.DD is undefined

Interestingly, the portlet doesn't contain any Javascript file or <script> tag in jsp files.

thumbnail
Abdollah Esmaeilpour, modified 2 Years ago.

RE: Dockbar problem: Uncaught TypeError: A.DD is undefined (Answer)

Junior Member Posts: 60 Join Date: 8/22/09 Recent Posts

I had a portlet with <iframe> tag in it. All the JS problems that I had was due to it. I must have written;

<iframe>...</iframe>

and Liferay has problems with

<iframe />

Anyway, this little change resolved my problem. I have another question that is related to the same problem: https://liferay.dev/ask/questions/development/-iframe-causes-admin-menu-and-portlet-configuration-menu-not-working?sort=oldest