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

selectEntity function in util.js registers new same callback each time pop-up dialog is opened

    Details

      Description

      If pop-up dialog is opened using Liferay.Util.selectEntity and if callback function is passed to handle events, multiple dialog open actions will cause that same callback will be registered for dialog more than once.

      Probably we should implement lookup for existing dialog instance by its id before it is created and configured.

        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:
                  6 years, 20 weeks, 6 days ago

                  Packages

                  Version Package
                  6.2.0 CE M5