[Zope-PTK] PTK Undo fix..
Wed, 26 Apr 2000 11:42:08 -0500
I have been setting up an internal site using the PTK during the
last couple weeks. One thing that didnt work for me was Undo. I
am using .71 of the PTK. In my tweaking I managed to fix Undo and
am passing along the fix for all to use..
Anyway.. in PTKBase/PortalObject.py
def portal_undo(self, transaction_info, REQUEST=None):
"""Perform undo and present portal interface
for i in transaction_info: undo(i)
if REQUEST is not None:
self, REQUEST, portal_status_message='Transaction undone')
e m e r g i n g | Houston