Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Dockbar problem: Uncaught TypeError: A.DD is undefined
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.
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
Powered by Liferay™