Remove the too generic id attribute of the comment form.

svn path=/plone.app.discussion/trunk/; revision=40858
This commit is contained in:
Timo Stollenwerk 2010-10-28 10:30:10 +00:00
parent 777e687169
commit f6b7ef1bcb
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ Changelog
1.0b11 (unreleased)
-------------------
- Rename the id of the comment form from "form" to "comment-form".
- Remove the too generic id attribute of the comment form.
[timo]
- Fixed handling of non-ascii member data, like fullname and email.

View File

@ -47,7 +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"
id = None
label = _(u"Add a comment")
fields = field.Fields(IComment).omit('portal_type',
'__parent__',