From ed8e7eab97089e2ad22d63bac581b67b8b6f5454 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Thu, 2 Aug 2018 12:59:18 -0700 Subject: fix editing employee pw, RT#32456 --- httemplate/edit/process/elements/process.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'httemplate/edit/process/elements/process.html') diff --git a/httemplate/edit/process/elements/process.html b/httemplate/edit/process/elements/process.html index c197eb123..85f060e32 100644 --- a/httemplate/edit/process/elements/process.html +++ b/httemplate/edit/process/elements/process.html @@ -80,8 +80,12 @@ Example: 'precheck_callback' => sub { my( $cgi ) = @_; }, #after the new object is created + #return an error string or empty for no error 'post_new_object_callback' => sub { my( $cgi, $object ) = @_; }, + #run right before replacing (not run for inserts) + 'edit_callback' => sub { my( $new, $old ) = @_; }, + #after everything's inserted 'noerror_callback' => sub { my( $cgi, $object ) = @_; }, -- cgit v1.2.1