we can't set a widget for the author_notification field because we removed it.

svn path=/plone.app.discussion/trunk/; revision=35081
This commit is contained in:
Timo Stollenwerk 2010-03-17 10:49:26 +00:00
parent e5ee53b644
commit 0776fecfd2
1 changed files with 1 additions and 1 deletions

View File

@ -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()