Remove the too generic id attribute of the comment form.
svn path=/plone.app.discussion/trunk/; revision=40858
This commit is contained in:
parent
777e687169
commit
f6b7ef1bcb
@ -4,7 +4,7 @@ Changelog
|
|||||||
1.0b11 (unreleased)
|
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]
|
[timo]
|
||||||
|
|
||||||
- Fixed handling of non-ascii member data, like fullname and email.
|
- Fixed handling of non-ascii member data, like fullname and email.
|
||||||
|
@ -47,7 +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"
|
id = None
|
||||||
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__',
|
||||||
|
Loading…
Reference in New Issue
Block a user