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

              hong.zhao Hong Zhao (Inactive)
              byran.zaugg Byran Zaugg (Inactive)
              Rafaela Nascimento Rafaela Nascimento
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9 years, 3 weeks, 6 days ago

                Packages

                  Version Package
                  6.2.4 CE GA5
                  6.2.X EE
                  7.0.0 M1