You are here

function uc_payment_form_alter in Ubercart 6.2

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

Implements hook_form_alter().

File

payment/uc_payment/uc_payment.module, line 223

Code

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