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

Cleanup markup for price set field display and add attributes for data-amount and data-currency

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.2.0
    • Fix Version/s: 4.2.0
    • Labels:
      None

      Description

      Display of price set field options had invalid looping logic resulting in an extra empty div.

      Also added rowCount class to option div's to facilitate jQuery or CSS selection, AND added HTML5 attributes to radio button and checkbox options for data-amount and data-currency.

      EXAMPLE: <input type="checkbox" class="form-checkbox" value="1" name="price_15[35]" id="price_15[35]" data-currency="USD" data-amount="5.55" price="["35","5.55||"]">

        Attachments

          Activity

            People

            • Assignee:
              dgg David Greenberg
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: