[CMF-checkins] CVS: Products/CMFDefault - Document.py:1.40

Tres Seaver tseaver@zope.com
Mon, 17 Dec 2001 13:23:00 -0500


Update of /cvs-repository/Products/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv6914/CMFDefault

Modified Files:
	Document.py 
Log Message:
 - Merge fix for Tracker #435 from branch.

=== Products/CMFDefault/Document.py 1.39 => 1.40 ===
         self.title = title
         self.description = description
-        self.text = text
-        self.setFormat(value=text_format)
+        self._edit( text=text, text_format=text_format )
+        self.setFormat( text_format )
 
     security.declareProtected(CMFCorePermissions.ModifyPortalContent,
                               'manage_edit')