CRM-15756, add credit card class for validation
authorkurund <kurund@civicrm.org>
Sun, 8 Mar 2015 19:33:16 +0000 (01:03 +0530)
committerkurund <kurund@civicrm.org>
Sun, 8 Mar 2015 19:33:16 +0000 (01:03 +0530)
----------------------------------------
* CRM-15756: Back-office Submit Credit Card Contribution form: card # validation is no longer working
  https://issues.civicrm.org/jira/browse/CRM-15756

CRM/Core/Payment.php

index 8a21c0298bbb99730362368b1053a238bcf2957e..8be5681be0207133ad25dcbf3825d372356086d6 100644 (file)
@@ -318,6 +318,7 @@ abstract class CRM_Core_Payment {
           'size' => 20,
           'maxlength' => 20,
           'autocomplete' => 'off',
+          'classs' => 'creditcard',
         ),
         'is_required' => TRUE,
       ),