[Rt-commit] r4658 - in rtir/branches/1.9-EXPERIMENTAL: html/RTIR
html/RTIR/Incident
ruz at bestpractical.com
ruz at bestpractical.com
Thu Mar 2 16:23:29 EST 2006
Author: ruz
Date: Thu Mar 2 16:23:28 2006
New Revision: 4658
Modified:
rtir/branches/1.9-EXPERIMENTAL/ (props changed)
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Advanced.html
rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/Edit.html
Log:
r811 at cubic-pc: cubic | 2006-03-02 23:26:15 +0300
* make display after edit configurable per user
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Advanced.html
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Advanced.html (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Advanced.html Thu Mar 2 16:23:28 2006
@@ -35,7 +35,7 @@
push @results, ProcessTicketBasics( TicketObj => $Ticket, ARGSRef => \%ARGS);
push @results, ProcessTicketLinks( TicketObj => $Ticket, ARGSRef => \%ARGS);
- if ( RT->Config->Get('DisplayAfterEdit') ) {
+ if ( RT->Config->Get('DisplayAfterEdit', $session{'CurrentUser'}) ) {
$m->comp("/RTIR/Display.html", results => [@results], %ARGS);
return;;
}
Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/Edit.html
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/Edit.html (original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/Edit.html Thu Mar 2 16:23:28 2006
@@ -162,7 +162,7 @@
push (@results, loc("State changed from [_1] to [_2]", $oldstate, $newstate));
}
-if( $ARGS{'SaveChanges'} && RT->Config->Get('DisplayAfterEdit') ) {
+if( $ARGS{'SaveChanges'} && RT->Config->Get('DisplayAfterEdit', $session{'CurrentUser'}) ) {
$m->comp("/RTIR/Incident/Display.html", results => [@results], %ARGS);
$m->abort;
}
More information about the Rt-commit
mailing list