From bdabde2400413b3d4e5cac36328f7d4bf556ae2e Mon Sep 17 00:00:00 2001 From: Dave Greenberg Date: Tue, 24 Jun 2014 10:56:49 -0700 Subject: [PATCH] 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 --- templates/CRM/Event/Form/Registration/Register.tpl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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(); -- 2.25.1