[Rt-commit] r8397 - rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident

ruz at bestpractical.com ruz at bestpractical.com
Fri Aug 3 19:59:16 EDT 2007


Author: ruz
Date: Fri Aug  3 19:59:16 2007
New Revision: 8397

Modified:
   rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Create.html

Log:
* retab

Modified: rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Create.html
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Create.html	(original)
+++ rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Create.html	Fri Aug  3 19:59:16 2007
@@ -161,7 +161,7 @@
     <td><input size="10" name="Starts" value="<% $ARGS{'Starts'} || '' %>" /></td></tr>
     
     <tr><td align="right"><&|/l&>Due</&>:</td>
-	<td><input size="10" name="Due" value="<% $ARGS{'Due'} || '' %>" /></td></tr>
+    <td><input size="10" name="Due" value="<% $ARGS{'Due'} || '' %>" /></td></tr>
 
 </table>
 </&>
@@ -211,20 +211,20 @@
     $Child = $ARGS{'Child'} = $ChildObj->id;
     $ARGS{'Subject'} ||= $ChildObj->Subject;
     if($ARGS{'CreateIncident'} || $ARGS{'CreateWithInvestigation'}) {
-		my $lock = $ChildObj->Unlock('Take');
-		$Duration = time() - $lock->Content->{'Timestamp'} if $lock;
-	}
-	else 
-	{
-		$ChildObj->Lock('Take');
-	}
-	$Id = $ARGS{'Child'};
+        my $lock = $ChildObj->Unlock('Take');
+        $Duration = time() - $lock->Content->{'Timestamp'} if $lock;
+    }
+    else 
+    {
+        $ChildObj->Lock('Take');
+    }
+    $Id = $ARGS{'Child'};
 }
 
 if($Split && ($ARGS{'CreateIncident'} || $ARGS {'CreateWithInvestigation'})) {
-	$Id = $ARGS{'Ticket'};
-	my $lock = $TicketObj->Unlock();
-	$Duration = time() - $lock->Content->{'Timestamp'} if $lock;
+    $Id = $ARGS{'Ticket'};
+    my $lock = $TicketObj->Unlock();
+    $Duration = time() - $lock->Content->{'Timestamp'} if $lock;
 }
 
 
@@ -291,7 +291,7 @@
         }
     }
     if( $inc_obj ) {
-    	$Id = $ChildObj->id if $ChildObj;
+        $Id = $ChildObj->id if $ChildObj;
         return $m->comp('Display.html', id => $inc_obj->id, Duration => $Duration, Id => $Id, results => \@results );
     }
 }


More information about the Rt-commit mailing list