function uc_order_pane_line_items_update in Ubercart 7.3
AJAX callback to render the line items.
1 string reference to 'uc_order_pane_line_items_update'
- uc_order_pane_line_items in uc_order/
uc_order.order_pane.inc - Handles the "Line Items" order pane.
File
- uc_order/
uc_order.order_pane.inc, line 848 - This file contains the callbacks for the default order panes supplied with Ubercart and their corresponding helper functions.
Code
function uc_order_pane_line_items_update($form, &$form_state) {
$commands[] = ajax_command_replace('#order-line-items', trim(drupal_render($form['line_items'])));
$commands[] = ajax_command_prepend('#order-line-items', theme('status_messages'));
return array(
'#type' => 'ajax',
'#commands' => $commands,
);
}