fix r36843 commit. set HAS_WRAPPED_FORM to false for plone.z3cform < 0.6.0.
svn path=/plone.app.discussion/trunk/; revision=36845
This commit is contained in:
@@ -47,7 +47,7 @@ try:
|
|||||||
from plone.z3cform.interfaces import IWrappedForm
|
from plone.z3cform.interfaces import IWrappedForm
|
||||||
HAS_WRAPPED_FORM = True
|
HAS_WRAPPED_FORM = True
|
||||||
except ImportError:
|
except ImportError:
|
||||||
HAS_WRAPPED_FORM = True
|
HAS_WRAPPED_FORM = False
|
||||||
|
|
||||||
class CommentForm(extensible.ExtensibleForm, form.Form):
|
class CommentForm(extensible.ExtensibleForm, form.Form):
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user