From 0776fecfd27ce1874dbb7a2eb6b23dd749fd406a Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Wed, 17 Mar 2010 10:49:26 +0000 Subject: [PATCH] we can't set a widget for the author_notification field because we removed it. svn path=/plone.app.discussion/trunk/; revision=35081 --- plone/app/discussion/browser/comments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plone/app/discussion/browser/comments.py b/plone/app/discussion/browser/comments.py index c16fbb4..8758813 100644 --- a/plone/app/discussion/browser/comments.py +++ b/plone/app/discussion/browser/comments.py @@ -59,7 +59,7 @@ class CommentForm(extensible.ExtensibleForm, form.Form): def updateFields(self): super(CommentForm, self).updateFields() - self.fields['author_notification'].widgetFactory = SingleCheckBoxFieldWidget + #self.fields['author_notification'].widgetFactory = SingleCheckBoxFieldWidget def updateWidgets(self): super(CommentForm, self).updateWidgets()