Merge pull request #4123 from eileenmcnaughton/CRM-15296
[civicrm-core.git] / templates / CRM / common / paymentBlock.tpl
index b8cc72de89ae546e7a697ca1bccbca4657aab942..d9f04277324527627dee029e8b010289ca09aef3 100644 (file)
@@ -58,11 +58,11 @@ function buildPaymentBlock( type ) {
   cj('#billing-payment-block').html(response).trigger('crmLoad').trigger('crmFormLoad');
 }
 
-cj( function() {
-    cj('.crm-group.payment_options-group').show();
+CRM.$(function($) {
+    $('.crm-group.payment_options-group').show();
 
-    cj('input[name="payment_processor"]').change( function() {
-        buildPaymentBlock( cj(this).val() );
+    $('input[name="payment_processor"]').change( function() {
+        buildPaymentBlock( $(this).val() );
     });
 });