You are here

function workflow_actions_form_submit in Workflow 5

File

./workflow.module, line 1425

Code

function workflow_actions_form_submit($form, $form_values) {
  $tid = $form_values['tid'];
  $aid = actions_key_lookup($form_values['action']);
  workflow_actions_save($tid, $aid);

  // the form does weird things if we don't do a drupal_goto()
  $wid = arg(4);
  return "admin/build/workflow/actions/{$wid}";
}