You are here

function ca_actions_form_save_changes_submit in Ubercart 6.2

Save changes submit handler for the actions form.

See also

ca_actions_form()

1 string reference to 'ca_actions_form_save_changes_submit'
ca_actions_form in ca/ca.admin.inc
Build a form for adding and editing actions on a predicate.

File

ca/ca.admin.inc, line 517
Conditional actions overview UI.

Code

function ca_actions_form_save_changes_submit($form, &$form_state) {

  // Save the existing actions to preserve any changes.
  ca_actions_form_update_actions($form_state['values']['pid'], $form_state['values']['actions']);
  drupal_set_message(t('Actions saved.'));
}