Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-66166

aui:navbar javascript error when only having single aui:nav-bar-search as nested content

    Details

      Description

      After LPS-46108, if having just a nested aui:nav-bar-search nested to a aui:navbar, a javascript error will be thrown:

      Uncaught TypeError: Cannot read property 'on' of null
      

      and the needed markup won't be rendered.

      Steps to reproduce:

      1. Deploy attached OSGI module
      2. Add portlet to a page

      Expected behavior: no javascript errors
      Actual behavior: javascript error is thrown:

      Uncaught TypeError: Cannot read property 'on' of null
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 23 weeks ago

                  Packages

                  Version Package