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

IE7 does not handle trailing commas properly.

    Details

      Description

      IE7 does not handle trailing commas properly. This is a general cleanup to prevent potential issues in IE7.

      A usual error looks something like this:

      IE7 ... javascript error Expected identifier, string or number
      

      Regex used to find commas:

      ,[\s]*[^A-z0-9\s{_'[(!$*"\.\\</\-`#\%\+&]
      

        Attachments

        1. fix.png
          fix.png
          49 kB
        2. reproduce.png
          reproduce.png
          47 kB

          Issue Links

            Activity

              People

              Assignee:
              hong.zhao Hong Zhao (Inactive)
              Reporter:
              byran.zaugg Byran Zaugg (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 21 weeks, 4 days ago

                  Packages

                  Version Package
                  6.2.4 CE GA5
                  6.2.X EE
                  7.0.0 M1