You are here

function uc_addresses_address_render in Ubercart Addresses 7

Ajax callback to re-render the full address element.

1 string reference to 'uc_addresses_address_render'
uc_addresses_order_pane_address in ./uc_addresses.ubercart.inc
Callback for an address order pane.

File

./uc_addresses.module, line 1072
Adds user profile address support to Ubercart.

Code

function uc_addresses_address_render($form, &$form_state) {
  $element =& $form;
  foreach ($form_state['triggering_element']['#uc_addresses_address_element'] as $key) {
    if (isset($element[$key])) {
      $element =& $element[$key];
    }
  }
  return $element;
}