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

When clicking the configuration link on a portlet within a nested portlet both the configuration for the nested portlet and the portlet nested within is opened

    Details

    • Branch Version/s:
      6.0.x

      Description

      To reproduce

      1. drag a nested portlet on the page
      2. configure the nested portlet to have 2 columns
      3. drag a blogs portlet and a blogs aggregator in the nested portlet
      4. refresh the page in your browser
      5. press the configuration link of the blogs portlet

      Now the configuration dialog for both the nested portlet and blog portlet is opened

      This is caused by the following snippet in /html/js/liferay/portlet.js

      var configurationLink = portlet.all('.portlet-configuration a');

      configurationLink.on(
      'click',
      function(event)

      { var configurationURL = event.currentTarget.attr('href'); instance.openConfiguration(portlet, portletId, configurationURL, namespacedId); event.preventDefault(); }

      );

      The nested portlet also registers itself as a click listener on the configuration button of nested portlets

        Attachments

          Activity

            People

            Assignee:
            sophia.zhang Sophia Zhang
            Reporter:
            jelmer Jelmer Kuperus (Inactive)
            Participants of an Issue:
            Recent user:
            Marta Elicegui
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              9 years, 6 weeks, 1 day ago

                Packages

                Version Package
                --Sprint 11/12
                6.2.0 CE M2