[Rt-commit] r8940 - in rt/branches/3.7-EXPERIMENTAL: .
sartak at bestpractical.com
sartak at bestpractical.com
Wed Sep 5 14:54:42 EDT 2007
Author: sartak
Date: Wed Sep 5 14:54:41 2007
New Revision: 8940
Modified:
rt/branches/3.7-EXPERIMENTAL/ (props changed)
rt/branches/3.7-EXPERIMENTAL/html/Ticket/Update.html
Log:
r40603 at onn: sartak | 2007-09-05 14:54:22 -0400
Add hook for aborting the updating of a ticket (to be used with GPG)
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 Wed Sep 5 14:54:41 2007
@@ -152,6 +152,7 @@
<%INIT>
my $CanRespond = 0;
my $CanComment = 0;
+my $checks_failure = 0;
my $title;
my $TicketObj = LoadTicket($id);
@@ -239,7 +240,7 @@
}
# }}}
-if ( exists $ARGS{SubmitTicket} ) {
+if ( !$checks_failure && exists $ARGS{SubmitTicket} ) {
$m->callback( Ticket => $TicketObj, ARGSRef => \%ARGS, CallbackName => 'BeforeDisplay' );
return $m->comp('Display.html', TicketObj => $TicketObj, %ARGS);
}
More information about the Rt-commit
mailing list