X-Git-Url: https://scm.cri.ensmp.fr/git/Plinn.git/blobdiff_plain/dacc4a8732118811d10ecff1cee34e6c920769c3..02a4cb04321cdbe1514d63230f7c5a0566a7d29d:/patch.py diff --git a/patch.py b/patch.py index fe60513..5f99887 100644 --- 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.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