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:
		
							parent
							
								
									fd77f347c5
								
							
						
					
					
						commit
						04b8c9633c
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -394,7 +394,9 @@ class EditObject(FormController, I18NView): | ||||||
|     @Lazy |     @Lazy | ||||||
|     def schema(self): |     def schema(self): | ||||||
|         schemaFactory = component.getAdapter(self.adapted, ISchemaFactory) |         schemaFactory = component.getAdapter(self.adapted, ISchemaFactory) | ||||||
|         return schemaFactory(self.typeInterface) |         #return schemaFactory(self.typeInterface) | ||||||
|  |         return schemaFactory(self.typeInterface, manager=self, | ||||||
|  |                              request=self.request) | ||||||
| 
 | 
 | ||||||
|     @Lazy |     @Lazy | ||||||
|     def fields(self): |     def fields(self): | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 helmutm
						helmutm