Commit 5d12e759 authored by Dries's avatar Dries

- Patch #130977 by chx: fix confirm forms.

parent eb6b848d
......@@ -2165,8 +2165,6 @@ function confirm_form($form, $question, $path, $description = NULL, $yes = NULL,
$form['actions'] = array('#prefix' => '<div class="container-inline">', '#suffix' => '</div>');
$form['actions']['submit'] = array('#type' => 'submit', '#value' => $yes ? $yes : t('Confirm'));
$form['actions']['cancel'] = array('#value' => $cancel);
$form['#submit']['confirm_form_submit'] = array();
$form['#validate']['confirm_form_validate'] = array();
$form['#theme'] = 'confirm_form';
return $form;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment