[Rt-commit] r12759 - rt/branches/3.8-TESTING/share/html/Ticket

sunnavy at bestpractical.com sunnavy at bestpractical.com
Fri May 30 09:01:01 EDT 2008


Author: sunnavy
Date: Fri May 30 09:01:00 2008
New Revision: 12759

Modified:
   rt/branches/3.8-TESTING/share/html/Ticket/Modify.html
   rt/branches/3.8-TESTING/share/html/Ticket/ModifyAll.html

Log:
show up hints of cf values in Modify.html and ModifyAll.html all the time

Modified: rt/branches/3.8-TESTING/share/html/Ticket/Modify.html
==============================================================================
--- rt/branches/3.8-TESTING/share/html/Ticket/Modify.html	(original)
+++ rt/branches/3.8-TESTING/share/html/Ticket/Modify.html	Fri May 30 09:01:00 2008
@@ -69,6 +69,13 @@
 my $TicketObj = LoadTicket($id);
 my $CustomFields = $TicketObj->QueueObj->TicketCustomFields();
 
+# call this to show up hints of valid cf values.
+$m->comp(
+    '/Elements/ValidateCustomFields',
+    CustomFields => $CustomFields,
+    ARGSRef => {},
+);
+
 # Now let callbacks have a chance at editing %ARGS
 $m->callback( TicketObj => $TicketObj, CustomFields => $CustomFields, ARGSRef => \%ARGS );
 

Modified: rt/branches/3.8-TESTING/share/html/Ticket/ModifyAll.html
==============================================================================
--- rt/branches/3.8-TESTING/share/html/Ticket/ModifyAll.html	(original)
+++ rt/branches/3.8-TESTING/share/html/Ticket/ModifyAll.html	Fri May 30 09:01:00 2008
@@ -136,6 +136,14 @@
 
 
 my $Ticket = LoadTicket($id);
+my $CustomFields = $Ticket->QueueObj->TicketCustomFields();
+
+# call this to show up hints of valid cf values.
+$m->comp(
+    '/Elements/ValidateCustomFields',
+    CustomFields => $CustomFields,
+    ARGSRef => {},
+);
 
 my $CanRespond = 0;
 my $CanComment = 0;


More information about the Rt-commit mailing list