[Zope-CVS] CVS: Products/ExternalEditor - CHANGES.txt:1.14 ExternalEditor.py:1.8
Casey Duncan
casey@zope.com
Thu, 20 Jun 2002 17:36:18 -0400
Update of /cvs-repository/Products/ExternalEditor
In directory cvs.zope.org:/tmp/cvs-serv16788
Modified Files:
CHANGES.txt ExternalEditor.py
Log Message:
Promote manage_FTPget to the default editing source, displacing document_src
=== Products/ExternalEditor/CHANGES.txt 1.13 => 1.14 ===
+ - Made manage_FTPget the default source for the editable content, instead
+ of document_src which was broken for CMF Wiki Pages.
+
- Fixed Windows "body_file" bug.
- Added binary build support for Windows using py2exe and Inno setup.
=== Products/ExternalEditor/ExternalEditor.py 1.7 => 1.8 ===
r.append('')
- if hasattr(ob, 'document_src'):
- r.append(ob.document_src(REQUEST, RESPONSE))
- elif hasattr(ob, 'manage_FTPget'):
- r.append(ob.manage_FTPget(REQUEST, RESPONSE))
+ if hasattr(ob, 'manage_FTPget'):
+ r.append(ob.manage_FTPget())
elif hasattr(ob, 'EditableBody'):
r.append(ob.EditableBody())
+ elif hasattr(ob, 'document_src'):
+ r.append(ob.document_src(REQUEST, RESPONSE))
elif hasattr(ob, 'read'):
r.append(ob.read())
else: