diff options
author | Ivan Kohler <ivan@freeside.biz> | 2013-05-09 01:42:39 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2013-05-09 01:42:39 -0700 |
commit | 120718856665ca90ad852535d1155f8ea8ecb6b6 (patch) | |
tree | 2ac0472c1fd67ecc843619597f1cca7d8f774204 /httemplate/edit/process/elements | |
parent | d8843f184a7f6ee87eec99724f2d6430c1df34ea (diff) |
NG auth: pw changes, RT#21563
Diffstat (limited to 'httemplate/edit/process/elements')
-rw-r--r-- | httemplate/edit/process/elements/process.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/httemplate/edit/process/elements/process.html b/httemplate/edit/process/elements/process.html index fb1ee7a27..2afbdd082 100644 --- a/httemplate/edit/process/elements/process.html +++ b/httemplate/edit/process/elements/process.html @@ -70,6 +70,9 @@ Example: #return an error string or empty for no error 'precheck_callback' => sub { my( $cgi ) = @_; }, + #after the new object is created + 'post_new_object_callback' => sub { my( $cgi, $object ) = @_; }, + #after everything's inserted 'noerror_callback' => sub { my( $cgi, $object ) = @_; }, @@ -226,6 +229,10 @@ foreach my $value ( @values ) { } } + if ( $opt{'post_new_object_callback'} ) { + &{ $opt{'post_new_object_callback'} }( $cgi, $new ); + } + if ( $opt{'agent_virt'} ) { if ( ! $new->agentnum |