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:
parent
aa8a1ea934
commit
79f4481722
@ -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__',
|
||||
|
Loading…
Reference in New Issue
Block a user