From: Dave Greenberg Date: Tue, 24 Jun 2014 17:56:49 +0000 (-0700) Subject: CRM-14908 - Do not hide payment options just because a $0 price option is selected... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=bdabde2400413b3d4e5cac36328f7d4bf556ae2e;p=civicrm-core.git CRM-14908 - Do not hide payment options just because a $0 price option is selected if total is != $0. ---------------------------------------- * CRM-14908: https://issues.civicrm.org/jira/browse/CRM-14908 --- diff --git a/templates/CRM/Event/Form/Registration/Register.tpl b/templates/CRM/Event/Form/Registration/Register.tpl index 7281d7b0e6..eeafb8348b 100644 --- a/templates/CRM/Event/Form/Registration/Register.tpl +++ b/templates/CRM/Event/Form/Registration/Register.tpl @@ -212,8 +212,7 @@ 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();