- Patch #641314 by naxoc, bleen18: taxonomy term form being rebuilt even after final submit.

merge-requests/26/head
Dries Buytaert 2010-04-07 07:52:03 +00:00
parent 80c8601d60
commit e7b3c5e3e9
1 changed files with 2 additions and 1 deletions

View File

@ -821,7 +821,8 @@ function taxonomy_form_term_submit($form, &$form_state) {
$form_state['values']['tid'] = $term->tid;
$form_state['tid'] = $term->tid;
$form_state['redirect'] = 'admin/structure/taxonomy';
// Do not rebuild here. The term is saved by now and the form should clear.
$form_state['rebuild'] = FALSE;
}
/**