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

youtube portlet configuration - custom size does not work

    Details

      Description

      custom size configuration of Youtube portlet does not work.

      reproduction

      1. add youtube portlet to a page
      2. got to configuration
      3. add a youtube url
      4. select custom from sizes

      expected behaviour

      Two inputs should be appear for the width and height

      experience behaviour

      A javascript error in the console:
      Uncaught TypeError: Cannot read property 'removeClass' of null

      The issue comes from youtube portlet's view.jsp:

      	A.one('#<portlet:namespace />height').ancestor('.control-group').removeClass('invisible');
      	A.one('#<portlet:namespace />width').ancestor('.control-group').removeClass('invisible');
      

      I think, there is no .control-group ancestor.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              brian.chan Brian Chan
              Reporter:
              peter.borkuti Peter Borkuti (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 22 weeks, 2 days ago

                  Packages

                  Version Package
                  7.0.0 Beta 6