function commerce_addressbook_pane_refresh in Commerce Addressbook 7.3
Ajax callback for the "edit" button.
2 string references to 'commerce_addressbook_pane_refresh'
- commerce_addressbook_pane_checkout_form in ./
commerce_addressbook.checkout_pane.inc - Checkout pane callback: returns a customer profile edit form.
- _commerce_addressbook_add_profile_copy_checkbox in ./
commerce_addressbook.checkout_pane.inc
File
- ./
commerce_addressbook.checkout_pane.inc, line 445 - Based on commerce/modules/customer/commerce_customer.checkout_pane.inc
Code
function commerce_addressbook_pane_refresh($form, &$form_state) {
$pane_id = reset($form_state['triggering_element']['#parents']);
return $form[$pane_id];
}