From f6b7ef1bcbdfa88e781f8118a8204d2c2d8a148b Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Thu, 28 Oct 2010 10:30:10 +0000 Subject: [PATCH] Remove the too generic id attribute of the comment form. svn path=/plone.app.discussion/trunk/; revision=40858 --- CHANGES.txt | 2 +- plone/app/discussion/browser/comments.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index 4b7d0a5..a55d90a 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -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. diff --git a/plone/app/discussion/browser/comments.py b/plone/app/discussion/browser/comments.py index fd01790..a6f88c7 100644 --- a/plone/app/discussion/browser/comments.py +++ b/plone/app/discussion/browser/comments.py @@ -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__',