From e7b3c5e3e9b49990a1c8f979205c1080fbb71abd Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 7 Apr 2010 07:52:03 +0000 Subject: - Patch #641314 by naxoc, bleen18: taxonomy term form being rebuilt even after final submit. --- modules/taxonomy/taxonomy.admin.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/taxonomy/taxonomy.admin.inc b/modules/taxonomy/taxonomy.admin.inc index 8579f7442..5ad7538ae 100644 --- a/modules/taxonomy/taxonomy.admin.inc +++ b/modules/taxonomy/taxonomy.admin.inc @@ -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; } /** -- cgit v1.2.3