[Rt-commit] r5859 - rt/branches/3.6-RELEASE/html/Ticket

ruz at bestpractical.com ruz at bestpractical.com
Mon Sep 4 18:30:00 EDT 2006


Author: ruz
Date: Mon Sep  4 18:29:59 2006
New Revision: 5859

Modified:
   rt/branches/3.6-RELEASE/html/Ticket/Create.html

Log:
Ticket creation
* /Elements/SelectDate has no argument 'Value'
* use argument 'Default' to:
** safe values when custom field validation fails
** allow users/code to pre-define dates in URL

Modified: rt/branches/3.6-RELEASE/html/Ticket/Create.html
==============================================================================
--- rt/branches/3.6-RELEASE/html/Ticket/Create.html	(original)
+++ rt/branches/3.6-RELEASE/html/Ticket/Create.html	Mon Sep  4 18:29:59 2006
@@ -204,8 +204,8 @@
 		 color => "#663366" &>
 
 <table>
-<tr><td class="label"><&|/l&>Starts</&>:</td><td><& /Elements/SelectDate, Name => "Starts", Value => $ARGS{Starts}, Default => '' &></td></tr>
-<tr><td class="label"><&|/l&>Due</&>:</td><td><& /Elements/SelectDate, Name => "Due", Value => $ARGS{Due}, Default => '' &></td></tr>
+<tr><td class="label"><&|/l&>Starts</&>:</td><td><& /Elements/SelectDate, Name => "Starts", Default => $ARGS{Starts} || '' &></td></tr>
+<tr><td class="label"><&|/l&>Due</&>:</td><td><& /Elements/SelectDate, Name => "Due", Default => $ARGS{Due} || '' &></td></tr>
 </table>
 </&>
 <br />


More information about the Rt-commit mailing list