[Rt-commit] r5375 - in rt/branches/3.7-EXPERIMENTAL: . html/REST/1.0

ruz at bestpractical.com ruz at bestpractical.com
Thu Jun 15 17:54:14 EDT 2006


Author: ruz
Date: Thu Jun 15 17:54:13 2006
New Revision: 5375

Modified:
   rt/branches/3.7-EXPERIMENTAL/   (props changed)
   rt/branches/3.7-EXPERIMENTAL/html/REST/1.0/Forms/ticket/history
   rt/branches/3.7-EXPERIMENTAL/html/REST/1.0/dhandler

Log:
 r3117 at cubic-pc (orig r5294):  jesse | 2006-05-26 05:14:59 +0400
  r9822 at jesse-vincents-computer-2:  jesse | 2006-05-25 21:12:23 -0400
  * Small fixes to ticket history display
 


Modified: rt/branches/3.7-EXPERIMENTAL/html/REST/1.0/Forms/ticket/history
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/REST/1.0/Forms/ticket/history	(original)
+++ rt/branches/3.7-EXPERIMENTAL/html/REST/1.0/Forms/ticket/history	Thu Jun 15 17:54:13 2006
@@ -168,8 +168,7 @@
 	    $fieldstring .= $key;
 	}
 	my ($content, $forms);
-
-	$m->subexec(RT->Config->Get('WebPath')."/REST/1.0/show", 
+	$m->subexec("/REST/1.0/show", 
 		    id => \@tid, 
 		    format => $format,
                     fields => $fieldstring);

Modified: rt/branches/3.7-EXPERIMENTAL/html/REST/1.0/dhandler
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/REST/1.0/dhandler	(original)
+++ rt/branches/3.7-EXPERIMENTAL/html/REST/1.0/dhandler	Thu Jun 15 17:54:13 2006
@@ -309,7 +309,7 @@
 $output = form_compose(\@output);
 
 OUTPUT:
+$m->out("RT/".$RT::VERSION ." ".$status ."\n\n$output\n") if ($output || $status != 200);
+}
+return;
 </%INIT>
-RT/<% $RT::VERSION %> <% $status %>
-
-<% $output |n %>


More information about the Rt-commit mailing list