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

If mobile.device.styling.wap.enabled is false we should use regular

    Details

      Description

      There is a new portal.property to disable/enable specify styling for wap devices (mobile.device.styling.wap.enabled) that was introduced in ticket http://issues.liferay.com/browse/LPS-37371.

      Some code was introduced in that ticket that is causing misbehaviour when setting the different theme options because the values are not properly stored.

      in layouts_admin/layout/look_and_feel.jsp we have the following code:

      <aui:input name="devices" type="hidden" value='<%= PropsValues.MOBILE_DEVICE_STYLING_WAP_ENABLED? "regular,wap" : "wap" %>' />

      This code is wrong, because if the property mobile.device.styling.wap.enabled is disabled (by default it is) we should use regular and not wap.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tammy.fong Tammy Fong (Inactive)
              Reporter:
              sergio.gonzalez Sergio Gonzalez (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:
                8 years, 22 weeks ago

                  Packages

                  Version Package
                  6.2.0 CE B1