[Rt-commit] r8788 - in rt/branches/3.7-EXPERIMENTAL: .
ruz at bestpractical.com
ruz at bestpractical.com
Tue Aug 28 14:42:59 EDT 2007
Author: ruz
Date: Tue Aug 28 14:42:58 2007
New Revision: 8788
Modified:
rt/branches/3.7-EXPERIMENTAL/ (props changed)
rt/branches/3.7-EXPERIMENTAL/html/Ticket/Update.html
Log:
r8711 at cubic-pc (orig r8710): ruz | 2007-08-24 01:32:06 +0400
* add a new cllback, rename another one
Modified: rt/branches/3.7-EXPERIMENTAL/html/Ticket/Update.html
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Ticket/Update.html (original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Ticket/Update.html Tue Aug 28 14:42:58 2007
@@ -150,7 +150,7 @@
my $TicketObj = LoadTicket($id);
-#$TicketObj->Lock();
+$m->callback( Ticket => $TicketObj, ARGSRef => \%ARGS, CallbackName => 'Initial' );
unless($DefaultStatus){
$DefaultStatus=($ARGS{'Status'} ||$TicketObj->Status());
@@ -234,7 +234,7 @@
# }}}
if ( exists $ARGS{SubmitTicket} ) {
- $m->callback( Ticket => $TicketObj, ARGSRef => \%ARGS );
+ $m->callback( Ticket => $TicketObj, ARGSRef => \%ARGS, CallbackName => 'BeforeDisplay' );
return $m->comp('Display.html', TicketObj => $TicketObj, %ARGS);
}
More information about the Rt-commit
mailing list