revert previous change: keep isInnerHtml as class attribute
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@2790 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
f165e4b1e8
commit
d57b30f2e0
1 changed files with 4 additions and 4 deletions
|
@ -71,7 +71,7 @@ class ObjectForm(NodeView):
|
|||
template = ViewPageTemplateFile('form_macros.pt')
|
||||
customMacro = None
|
||||
formState = FormState() # dummy, don't update!
|
||||
#isInnerHtml = True
|
||||
isInnerHtml = True
|
||||
|
||||
def __init__(self, context, request):
|
||||
super(ObjectForm, self).__init__(context, request)
|
||||
|
@ -80,9 +80,9 @@ class ObjectForm(NodeView):
|
|||
self.target = context
|
||||
#self.registerDojoForm()
|
||||
|
||||
@Lazy
|
||||
def isInnerHtml(self):
|
||||
return bool(self.request.form.get('dialog'))
|
||||
#@Lazy
|
||||
#def isInnerHtml(self):
|
||||
# return bool(self.request.form.get('dialog'))
|
||||
|
||||
def closeAction(self, submit=False):
|
||||
if self.isInnerHtml:
|
||||
|
|
Loading…
Add table
Reference in a new issue