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

Liferay Popup displays " " in modal-title if no title is defined

    Details

      Description

      Reproduction steps:
      1) Start a master bundle
      2) Open up the browser's console with F12 (no need to login into Liferay)
      3) Paste this snippet and hit enter:

      Liferay.Util.openWindow({
          dialog: {
              modal: true,
              width: 500,
              centered: true,
              draggable: false,
              resizable: false,
              cssClass: 'classRed',
              bodyContent: 'Test dialog box'
          },
          id: 'confirmationDialogId'
      });
      

      4) A pop-up will open. Observe the top part where the title usually appears:

      Expected:
      No title to appear

      Actual behavior:

      " "

      will be displayed as a title

        Attachments

          Activity

            People

            Assignee:
            summer.zhang Summer Zhang
            Reporter:
            roland.pakai Roland Pákai
            Participants of an Issue:
            Recent user:
            Yunlin "Steven" Sun
            Engineering Assignee:
            Roland Pákai
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              5 weeks, 2 days ago

                Packages

                Version Package
                7.1.10 DXP FP21
                7.1.X
                7.2.X
                7.3.X
                Master