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:
parent
e5ee53b644
commit
0776fecfd2
@ -59,7 +59,7 @@ class CommentForm(extensible.ExtensibleForm, form.Form):
|
|||||||
|
|
||||||
def updateFields(self):
|
def updateFields(self):
|
||||||
super(CommentForm, self).updateFields()
|
super(CommentForm, self).updateFields()
|
||||||
self.fields['author_notification'].widgetFactory = SingleCheckBoxFieldWidget
|
#self.fields['author_notification'].widgetFactory = SingleCheckBoxFieldWidget
|
||||||
|
|
||||||
def updateWidgets(self):
|
def updateWidgets(self):
|
||||||
super(CommentForm, self).updateWidgets()
|
super(CommentForm, self).updateWidgets()
|
||||||
|
Loading…
Reference in New Issue
Block a user