1 ##parameters=change='', change_and_view='', ajax=''
3 form
= context
.REQUEST
.form
5 context
.plinndocument_edit_control(**form
) and \
6 context
.setRedirect(context
, 'object/edit', ajax
=ajax
) :
8 elif change_and_view
and \
9 context
.plinndocument_edit_control(**form
) and \
10 context
.setRedirect(context
, 'object/view', ajax
=ajax
) :
13 return context
.plinndocument_edit_template()