Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.2.0
-
Fix Version/s: 4.2.0
-
Component/s: CiviContribute, CiviEvent, CiviMember
-
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||"]">