Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
42f1c0c9
Commit
42f1c0c9
authored
Sep 05, 2004
by
Steven Wittens
Browse files
Comment.module:
Comment previewing was broken since 1.263, resulting in a double page.
parent
e35674d4
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/comment.module
View file @
42f1c0c9
...
...
@@ -406,7 +406,7 @@ function comment_reply($nid, $pid = NULL) {
$edit
=
$_POST
[
'edit'
];
comment_validate_form
(
$edit
);
print
theme
(
'page'
,
comment_preview
(
$edit
),
t
(
'Preview comment'
));
return
;
}
// or are we merely showing the form?
...
...
modules/comment/comment.module
View file @
42f1c0c9
...
...
@@ -406,7 +406,7 @@ function comment_reply($nid, $pid = NULL) {
$edit
=
$_POST
[
'edit'
];
comment_validate_form
(
$edit
);
print
theme
(
'page'
,
comment_preview
(
$edit
),
t
(
'Preview comment'
));
return
;
}
// or are we merely showing the form?
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment