[Rt-commit] r14194 - rtir/branches/2.3-TESTING/html/RTIR

ruz at bestpractical.com ruz at bestpractical.com
Wed Jul 16 21:44:39 EDT 2008


Author: ruz
Date: Wed Jul 16 21:44:39 2008
New Revision: 14194

Modified:
   rtir/branches/2.3-TESTING/html/RTIR/Edit.html

Log:
* use new API

Modified: rtir/branches/2.3-TESTING/html/RTIR/Edit.html
==============================================================================
--- rtir/branches/2.3-TESTING/html/RTIR/Edit.html	(original)
+++ rtir/branches/2.3-TESTING/html/RTIR/Edit.html	Wed Jul 16 21:44:39 2008
@@ -298,8 +298,8 @@
     }
     if ( !$checks_failure && RT->Config->Get('DisplayAfterEdit', $session{'CurrentUser'}) ) {
         $m->callback(CallbackName => 'BeforeDisplay', ARGSRef => \%ARGS, Ticket => $Ticket);
-            
-        return $m->comp("/RTIR/Display.html", %ARGS, results => [@results], id => $id);
+        push @{ $session{'Actions'}{''} ||= [] }, @results;
+        return $m->comp("/RTIR/Display.html", %ARGS, id => $id);
     }
 }
  


More information about the Rt-commit mailing list