Use "#comment-form" as id for the comment form instead of "#form" which is too generic.

svn path=/plone.app.discussion/trunk/; revision=40851
This commit is contained in:
Timo Stollenwerk 2010-10-27 14:44:06 +00:00
parent aa8a1ea934
commit 79f4481722

View File

@ -47,6 +47,7 @@ except ImportError: # pragma: no cover
class CommentForm(extensible.ExtensibleForm, form.Form):
ignoreContext = True # don't use context to get widget data
id = "comment-form"
label = _(u"Add a comment")
fields = field.Fields(IComment).omit('portal_type',
'__parent__',