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

Tooltip for Restore Icon does not update properly

    Details

      Description

      Description

      Using a theme with the velocity element listed below will not update the tooltip for the minimize icon after it switches to the restore icon.

      $theme.portletIconMinimize() 
      

      Steps to reproduce

      1) Deploy the linked theme
      2) Apply the theme to the default site's public pages
      3) Navigate to the main page and hover over the minimize icon for a portlet. You will see two tooltips.
      4) Minimize the portlet. Hover over restore - you will see "minimize" and "restore" in the two tooltips.

      Results of Testing

      Expected Result: Only one tooltip appears that correctly states what the icon is.
      Actual Results: Hovering over the "restore" icon yields a "minimize" and a "restore" tooltip.

      Errors/Logs

      No errors

      Branch

      ee-6.2.x
      4e141a4f5577ad3d87c253c0082aa0e9f596ca35

        Attachments

        1. fixed1.png
          fixed1.png
          23 kB
        2. fixed2.png
          fixed2.png
          19 kB
        3. reproduced1.png
          reproduced1.png
          23 kB
        4. reproduced2.png
          reproduced2.png
          23 kB
        5. sample-styled-minimal-theme-6.2.10.1.war
          1.56 MB

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 41 weeks, 4 days ago

                  Packages

                  Version Package
                  6.2.X EE