function finder_form_submit in Finder 7.2
Same name and namespace in other branches
- 6 includes/finder.form.inc \finder_form_submit()
- 7 includes/finder.form.inc \finder_form_submit()
Submit function for finder form.
Adds some needed data to $form_state and calls finder_form_state().
See also
1 string reference to 'finder_form_submit'
- finder_form in includes/
form.inc - FAPI definition for the finder form.
File
- includes/
form.inc, line 346 - The finder form.
Code
function finder_form_submit($form, &$form_state) {
$form_state['rebuild'] = TRUE;
$finder = $form_state['finder'];
$form_state['finished'] = TRUE;
if (!$finder
->setting('ajax') || $form_state['clicked_button']['#name'] != 'find') {
finder_form_state($finder, $form_state);
}
}