You are here

function uc_payment_form_alter in Ubercart 5

Same name and namespace in other branches
  1. 6.2 payment/uc_payment/uc_payment.module \uc_payment_form_alter()

Implementation of hook_form_alter().

File

payment/uc_payment/uc_payment.module, line 188

Code

function uc_payment_form_alter($form_id, &$form) {
  if ($form_id == 'uc_cart_checkout_form') {
    uc_add_js('misc/progress.js');
    uc_add_js(drupal_get_path('module', 'uc_payment') . '/uc_payment.js');
  }
}