projects
/
Plinn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correction doc.
[Plinn.git]
/
patch.py
diff --git
a/patch.py
b/patch.py
index
fe60513
..
5f99887
100644
(file)
--- a/
patch.py
+++ b/
patch.py
@@
-25,4
+25,9
@@
CMFPortalFolder.listCatalogedContents = PlinnFolder.listCatalogedContents.im_fun
cmfPortalFolderSecurity.declareProtected(AddPortalContent, 'put_upload')
CMFPortalFolder.put_upload = PlinnFolder.put_upload.im_func
cmfPortalFolderSecurity.declareProtected(AddPortalContent, 'put_upload')
CMFPortalFolder.put_upload = PlinnFolder.put_upload.im_func
-cmfPortalFolderSecurity.apply(CMFPortalFolder)
\ No newline at end of file
+cmfPortalFolderSecurity.apply(CMFPortalFolder)
+
+
+from Products.CMFDefault.formlib.form import _EditFormMixin
+from patch_impl import _setRedirect
+_EditFormMixin._setRedirect = _setRedirect
\ No newline at end of file