*** uc_payment.js	2009-05-19 18:30:35.000000000 +0200
--- uc_payment.js.new	2009-05-19 15:18:36.000000000 +0200
***************
*** 1,4 ****
! // $Id$
  
  // Arrays for order total preview data.
  var li_titles = {};
--- 1,4 ----
! // $Id: uc_payment.js,v 1.5.2.5 2009/02/24 15:35:51 islandusurper Exp $
  
  // Arrays for order total preview data.
  var li_titles = {};
***************
*** 35,41 ****
        // disable the submission buttons and get payment details
        if (Drupal.settings.ucOrderInitiate) {
          add_order_save_hold();
!         get_payment_details('admin/store/orders/' + $('#edit-order-id').val() + '/payment_details/' + $('#edit-payment-method').val());
        }
      }
    )
--- 35,41 ----
        // disable the submission buttons and get payment details
        if (Drupal.settings.ucOrderInitiate) {
          add_order_save_hold();
!         get_payment_details(Drupal.settings.basePath + '?q=' + 'admin/store/orders/' + $('#edit-order-id').val() + '/payment_details/' + $('#edit-payment-method').val());
        }
      }
    )
***************
*** 128,134 ****
   */
  function init_payment_details(payment_method) {
    if (payment_update == 0) {
!     get_payment_details('cart/checkout/payment_details/' + payment_method);
    }
  }
  
--- 128,134 ----
   */
  function init_payment_details(payment_method) {
    if (payment_update == 0) {
!     get_payment_details(Drupal.settings.basePath + '?q=' + 'cart/checkout/payment_details/' + payment_method);
    }
  }
  
***************
*** 153,159 ****
      data = {};
    }
    // Make the post to get the details for the chosen payment method.
!   $.post(Drupal.settings.basePath + '?q=' + path, data,
      function(details) {
        if (this_update.getTime() == payment_update) {
          // If the response was empty, throw up the default message.
--- 153,159 ----
      data = {};
    }
    // Make the post to get the details for the chosen payment method.
!   $.post(path, data,
      function(details) {
        if (this_update.getTime() == payment_update) {
          // If the response was empty, throw up the default message.
*** uc_payment_checkout_pane.inc	2009-05-19 18:33:28.000000000 +0200
--- uc_payment_checkout_pane.inc.new	2009-05-19 15:18:39.000000000 +0200
***************
*** 1,5 ****
  <?php
! // $Id$
  
  /**
   * @file
--- 1,5 ----
  <?php
! // $Id: uc_payment_checkout_pane.inc,v 1.5.2.6 2009/04/28 21:03:17 islandusurper Exp $
  
  /**
   * @file
***************
*** 62,68 ****
          '#default_value' => $default,
          '#disabled' => count($options) == 1 ? TRUE : FALSE,
          '#required' => TRUE,
!         '#attributes' => array('onclick' => "get_payment_details('cart/checkout/payment_details/' + this.value);"),
          '#theme' => 'uc_payment_method_select',
        );
        $contents['details'] = array(
--- 62,68 ----
          '#default_value' => $default,
          '#disabled' => count($options) == 1 ? TRUE : FALSE,
          '#required' => TRUE,
!         '#attributes' => array('onclick' => "get_payment_details('" . url('cart/checkout/payment_details/') . "' + this.value);"),
          '#theme' => 'uc_payment_method_select',
        );
        $contents['details'] = array(
*** uc_payment_order_pane.inc	2009-05-19 18:35:31.000000000 +0200
--- uc_payment_order_pane.inc.new	2009-05-19 18:36:09.000000000 +0200
***************
*** 1,5 ****
  <?php
! // $Id$
  
  /**
   * @file
--- 1,5 ----
  <?php
! // $Id: uc_payment_order_pane.inc,v 1.5.2.5 2009/04/18 07:29:16 islandusurper Exp $
  
  /**
   * @file
***************
*** 76,82 ****
          '#title' => t('Payment method'),
          '#default_value' => $arg1->payment_method,
          '#options' => (is_array($options)) ? $options : array(t('None available')),
!         '#attributes' => array('onchange' => "add_order_save_hold(); get_payment_details('admin/store/orders/". $arg1->order_id ."/payment_details/' + this.value);"),
          '#disabled' => (is_array($options)) ? FALSE : TRUE,
        );
        return $form;
--- 76,82 ----
          '#title' => t('Payment method'),
          '#default_value' => $arg1->payment_method,
          '#options' => (is_array($options)) ? $options : array(t('None available')),
!         '#attributes' => array('onchange' => "add_order_save_hold(); get_payment_details('" . url('admin/store/orders/' . $arg1->order_id) . "/payment_details/' + this.value);"),
          '#disabled' => (is_array($options)) ? FALSE : TRUE,
        );
        return $form;
