You are here

function uc_checkout_pane_address_render in Ubercart 7.3

Ajax callback to re-render the full address element.

1 string reference to 'uc_checkout_pane_address_render'
uc_checkout_pane_address in uc_cart/uc_cart_checkout_pane.inc
Generic address pane handler.

File

uc_cart/uc_cart_checkout_pane.inc, line 319
Callbacks for the default Ubercart checkout panes plus helper functions.

Code

function uc_checkout_pane_address_render($form, &$form_state) {
  $element =& $form;
  foreach (array_slice($form_state['triggering_element']['#array_parents'], 0, -1) as $field) {
    $element =& $element[$field];
  }
  return $element['address'];
}