Rename the id of the comment form from "form" to "comment-form".

svn path=/plone.app.discussion/trunk/; revision=40857
This commit is contained in:
Timo Stollenwerk 2010-10-28 09:45:34 +00:00
parent 22e4189c37
commit 777e687169
2 changed files with 5 additions and 0 deletions

View File

@ -4,9 +4,13 @@ Changelog
1.0b11 (unreleased) 1.0b11 (unreleased)
------------------- -------------------
- Rename the id of the comment form from "form" to "comment-form".
[timo]
- Fixed handling of non-ascii member data, like fullname and email. - Fixed handling of non-ascii member data, like fullname and email.
[hannosch] [hannosch]
1.0b10 (2010-10-15) 1.0b10 (2010-10-15)
------------------- -------------------

View File

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