Commit 9f8fcab8 authored by Dries's avatar Dries

- Patch #35726 by asimmonds: post_process -> build_after

parent cba99db4
...@@ -1188,7 +1188,7 @@ function comment_form($edit, $title = NULL) { ...@@ -1188,7 +1188,7 @@ function comment_form($edit, $title = NULL) {
} }
if ($op == t('Preview comment')) { if ($op == t('Preview comment')) {
$form['#post_process'] = 'comment_form_add_preview'; $form['#after_build'] = 'comment_form_add_preview';
} }
if ($_REQUEST['destination']) { if ($_REQUEST['destination']) {
......
...@@ -1188,7 +1188,7 @@ function comment_form($edit, $title = NULL) { ...@@ -1188,7 +1188,7 @@ function comment_form($edit, $title = NULL) {
} }
if ($op == t('Preview comment')) { if ($op == t('Preview comment')) {
$form['#post_process'] = 'comment_form_add_preview'; $form['#after_build'] = 'comment_form_add_preview';
} }
if ($_REQUEST['destination']) { if ($_REQUEST['destination']) {
......
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