bugfix for saving files: don't clear content type field

git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@2578 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
helmutm 2008-05-07 08:21:23 +00:00
parent fd77f347c5
commit 04b8c9633c

View file

@ -394,7 +394,9 @@ class EditObject(FormController, I18NView):
@Lazy
def schema(self):
schemaFactory = component.getAdapter(self.adapted, ISchemaFactory)
return schemaFactory(self.typeInterface)
#return schemaFactory(self.typeInterface)
return schemaFactory(self.typeInterface, manager=self,
request=self.request)
@Lazy
def fields(self):