po: back to the cansave hook, as the form validation is not sufficient
authorintrigeri <intrigeri@boum.org>
Fri, 2 Jan 2009 17:51:32 +0000 (18:51 +0100)
committerintrigeri <intrigeri@boum.org>
Fri, 2 Jan 2009 17:51:32 +0000 (18:51 +0100)
commit4ad871810d16546af614349fdecb0e1a928434c5
tree60d9e4b3d0f0384494ab9696d9c12c557abbb061
parent7ef0c19cdfcb751d2e98c9a38e7460c3e16b3268
po: back to the cansave hook, as the form validation is not sufficient

Form validation works, but after trying to save invalid PO content, the user is
brought back to the page he/she was editing, without any single clue to explain
why it was not saved. The dedicated cansave hook is thus necessary.

Signed-off-by: intrigeri <intrigeri@boum.org>
IkiWiki/Plugin/po.pm