[Rt-commit] r5163 - in rtir/branches/1.9-EXPERIMENTAL: html/RTIR
ruz at bestpractical.com
ruz at bestpractical.com
Thu May 4 07:46:44 EDT 2006
Author: ruz
Date: Thu May 4 07:46:42 2006
New Revision: 5163
Modified:
rtir/branches/1.9-EXPERIMENTAL/ (props changed)
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Display.html
Log:
r1411 at cubic-pc: cubic | 2006-05-04 15:54:03 +0400
* don't jump to IRs page when user rejects an IR
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Display.html
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Display.html (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Display.html Thu May 4 07:46:42 2006
@@ -257,15 +257,6 @@
my $newstate = $Ticket->FirstCustomFieldValue('_RTIR_State');
if ($newstate ne $oldstate) {
push (@results, loc("State changed from [_1] to [_2]", $oldstate, $newstate));
-
- if( $newstate eq 'rejected' ) {
- $m->comp( "/RTIR/Search/Results.html",
- %ARGS,
- Queue => $QueueObj->Name,
- results => [@results],
- );
- $m->abort;
- }
}
}
@@ -283,7 +274,7 @@
# update id argument in the case we took merged or created new
$ARGS{'id'} = $id = $Ticket->Id;
-if ($Type eq 'Report') {
+if ( $Type eq 'Report' ) {
$name = "Incident Report";
} else {
$name = $Type;
More information about the Rt-commit
mailing list