[freeside-commits] freeside/rt/share/html/Ticket/Elements CheckMandatoryFields, 1.1, NONE EditCustomFields, 1.1.1.2, 1.1.1.2.4.1
Mark Wells
mark at wavetail.420.am
Tue May 31 16:12:40 PDT 2011
Update of /home/cvs/cvsroot/freeside/rt/share/html/Ticket/Elements
In directory wavetail.420.am:/tmp/cvs-serv17802/share/html/Ticket/Elements
Modified Files:
Tag: FREESIDE_2_1_BRANCH
EditCustomFields
Removed Files:
Tag: FREESIDE_2_1_BRANCH
CheckMandatoryFields
Log Message:
improve mandatory fields, #9260
Index: EditCustomFields
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/share/html/Ticket/Elements/EditCustomFields,v
retrieving revision 1.1.1.2
retrieving revision 1.1.1.2.4.1
diff -u -w -d -r1.1.1.2 -r1.1.1.2.4.1
--- EditCustomFields 18 May 2010 18:45:45 -0000 1.1.1.2
+++ EditCustomFields 31 May 2011 23:12:38 -0000 1.1.1.2.4.1
@@ -100,6 +100,11 @@
$m->callback( %ARGS, CallbackName => 'MassageCustomFields', CustomFields => $CustomFields );
+# show hints for missing required fields
+foreach my $field ( $TicketObj->MissingRequiredFields ) {
+ $m->notes('InvalidField-' . $field->Id => 'Required to resolve');
+}
+
</%INIT>
<%ARGS>
$NamePrefix => ''
--- CheckMandatoryFields DELETED ---
More information about the freeside-commits
mailing list