comment_form is now spelled comment-form. This makes jscalendar_form_alter() cause a whitescreen when a user adds a comment.
This little patch does it - took me a while this bugger :)
| Comment | File | Size | Author |
|---|---|---|---|
| jscalendar-comment-form.patch | 775 bytes | alex_b |
Comments
Comment #1
nedjoThanks for flagging this issue and for looking into it.
It turned out that the change made to comment-form was not the issue. I'd simply failed to test the code before applying the patch that added the form_alter. I needed to add a test to ensure that the admin form element was set--it's only set for users with the correct permissions, and even then only when editing existing comments, not when originally submitting one. (The node version already had the correct tests.)
Comment #2
(not verified) commented