summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/comment.module2
-rw-r--r--modules/comment/comment.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment.module b/modules/comment.module
index 0fce40d14..a16d31c1a 100644
--- a/modules/comment.module
+++ b/modules/comment.module
@@ -1188,7 +1188,7 @@ function comment_form($edit, $title = NULL) {
}
if ($op == t('Preview comment')) {
- $form['#post_process'] = 'comment_form_add_preview';
+ $form['#after_build'] = 'comment_form_add_preview';
}
if ($_REQUEST['destination']) {
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index 0fce40d14..a16d31c1a 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -1188,7 +1188,7 @@ function comment_form($edit, $title = NULL) {
}
if ($op == t('Preview comment')) {
- $form['#post_process'] = 'comment_form_add_preview';
+ $form['#after_build'] = 'comment_form_add_preview';
}
if ($_REQUEST['destination']) {