Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-5984

JavaScript "invalid property id" in flexigrid.js

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.0.4, 3.1.3
    • Fix Version/s: 3.1.4
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      I was trying to minify /packages/jquery/plugins/flexigrid.js using YUI Compressor ( http://developer.yahoo.com/yui/compressor/ )and ran into the following error:

      [ERROR] 163:53:invalid property id

      I traced the location and found the error to be with the float:'left' property. Upon consulting the JQuery API reference at http://api.jquery.com/css/ , I decided to replace float:'left' with styleFloat:'left',cssFloat:'left' (both together) and successfully minified the file.

      The upstream flexigrid project ( http://code.google.com/p/flexigrid/source/browse/trunk/flexigrid.js ) doesn't seem to be maintained now. Perhaps the CiviCRM team could/should fix minor issues in third party components for community's sake

        Attachments

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              dhruvahuja Dhruv Ahuja
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: