CRM-14278 : fix, removed extra check for radio/checkbox related 0 amount checking...
authorPratik Joshi <pratik.joshi@webaccess.co.in>
Thu, 27 Mar 2014 06:53:24 +0000 (12:23 +0530)
committerPratik Joshi <pratik.joshi@webaccess.co.in>
Thu, 27 Mar 2014 06:53:24 +0000 (12:23 +0530)
templates/CRM/Event/Form/Registration/Register.tpl

index 020ade92cf3053a5b1696ce97386916df6bac94f..edc68c4de341efe01d563f55d272f211508d2bfd 100644 (file)
         flag = 0;
       }
 
-      if (((cj('#priceset input:checked').attr('data-amount') == 0) ||
-        (cj('#pricevalue').text() == symbol + " 0.00" )) && flag) {
+      if ((cj('#pricevalue').text() == symbol + " 0.00") && flag) {
         cj(".payment_options-group").hide();
         cj("div.payment_processor-section").hide();
         cj("div#payment_information").hide();