Closed (fixed)
Project:
Drupal core
Component:
comment.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
4 Nov 2004 at 19:36 UTC
Updated:
13 Dec 2004 at 13:15 UTC
Jump to comment: Most recent file
Comments
Comment #1
svemir commentedI can confirm this issue, with a clarification: In my case "Preview Comment" button appears only when previews are required in comments config. When previews are "optional", the button does not appear at all.
Comment #2
svemir commentedWith this patch, comments module does the following:
1. If preview is optional, both "Preview Comment" and "Post Comment" buttons are always there. If there is an error in the form, both are still there, because the user is supposed to fix the error and resubmit without previewing again if he or she choses so, because preview is optional. Of course, if the error is not fixed, the comment does not get through. (without this patch, preview comment button is never there when previews are optional)
2. If preview is required, only preview button is there initially. After a succesful preview, both preview and submit buttons show. If there is an error (whether on preview or if user messes up the comment after a succesful preview), again only preview button shows.
Comment #3
dries commentedCommitted to HEAD and DRUPAL-4-5. Thanks.
Comment #4
(not verified) commented