[Rt-commit] rt branch, 4.4/cf-validation-hints-callback, created. rt-4.4.4-49-g27b236e51

Jim Brandt jbrandt at bestpractical.com
Mon Jul 15 14:36:40 EDT 2019


The branch, 4.4/cf-validation-hints-callback has been created
        at  27b236e512fbc485bfc629a331f2b4ef37485673 (commit)

- Log -----------------------------------------------------------------
commit 27b236e512fbc485bfc629a331f2b4ef37485673
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Mon Jul 15 14:35:39 2019 -0400

    Pass ShowHints via a callback to provide a way to hide hints
    
    Add some other values that might be useful in a callback also.

diff --git a/share/html/Elements/EditCustomFields b/share/html/Elements/EditCustomFields
index 64980c152..f0f2f55a2 100644
--- a/share/html/Elements/EditCustomFields
+++ b/share/html/Elements/EditCustomFields
@@ -108,7 +108,8 @@ $CustomFields->{include_set_initial} = 1 if $ForCreation;
 
 $CustomFields->LimitToGrouping( $Object => $Grouping ) if defined $Grouping;
 
-$m->callback( %ARGS, CallbackName => 'MassageCustomFields', CustomFields => $CustomFields );
+$m->callback( %ARGS, CallbackName => 'MassageCustomFields', CustomFields => $CustomFields,
+                  Object => $Object, ShowHintsRef => \$ShowHints, InTableRef => \$InTable );
 
 $CustomFields->GotoFirstItem;
 my @CustomFields;

-----------------------------------------------------------------------


More information about the rt-commit mailing list