[Rt-commit] r4852 - in rtir/branches/1.9-EXPERIMENTAL: html/RTIR/Elements

ruz at bestpractical.com ruz at bestpractical.com
Tue Mar 28 18:34:43 EST 2006


Author: ruz
Date: Tue Mar 28 18:34:42 2006
New Revision: 4852

Modified:
   rtir/branches/1.9-EXPERIMENTAL/   (props changed)
   rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/QueueTabs

Log:
 r1048 at cubic-pc:  cubic | 2006-03-29 03:36:04 +0400
 * take actions shouldn't open ticket


Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/QueueTabs
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/QueueTabs	(original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Elements/QueueTabs	Tue Mar 28 18:34:42 2006
@@ -216,17 +216,10 @@
 
     if ( $can{'OwnTicket'} ) {
         if ( $Ticket->Owner == $RT::Nobody->id ) {
-            if ( $Ticket->QueueObj->IsActiveStatus( $Ticket->Status ) ) {
-                $actions->{'D'} = {
-                    path  => "RTIR/Display.html?Action=Take&id=$id&Status=open",
-                    title => loc('Take')
-                };
-            } else {
-                $actions->{'D'} = {
-                    path  => "RTIR/Display.html?Action=Take&id=$id",
-                    title => loc('Take')
-                };
-            }
+            $actions->{'D'} = {
+                path  => "RTIR/Display.html?Action=Take&id=$id",
+                title => loc('Take')
+            };
         } elsif ( $Ticket->Owner != $session{CurrentUser}->id ) {
             $actions->{'E'} = {
                 path  => "RTIR/Display.html?Action=Steal&id=$id",


More information about the Rt-commit mailing list