{*
+--------------------------------------------------------------------+
- | CiviCRM version 4.3 |
+ | CiviCRM version 4.5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013 |
+ | Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
async: false
}).responseText;
- cj('#billing-payment-block').html(response).trigger('crmFormLoad');
+ 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() );
});
});