X-Git-Url: https://scm.cri.minesparis.psl.eu/git/PlinnDocument.git/blobdiff_plain/57a4d385a1d2806d5877f53b1fdb0bd94efa2dbb..3b91dbcbb0b99d3d796a01813018db0e540bd0ec:/skins/plinndocument_edit_form.py?ds=inline diff --git a/skins/plinndocument_edit_form.py b/skins/plinndocument_edit_form.py deleted file mode 100644 index 5484bcf..0000000 --- a/skins/plinndocument_edit_form.py +++ /dev/null @@ -1,13 +0,0 @@ -##parameters=change='', change_and_view='', ajax='' - -form = context.REQUEST.form -if change and \ - context.plinndocument_edit_control(**form) and \ - context.setRedirect(context, 'object/edit', ajax=ajax) : - return -elif change_and_view and \ - context.plinndocument_edit_control(**form) and \ - context.setRedirect(context, 'object/view', ajax=ajax) : - return - -return context.plinndocument_edit_template()