[Rt-commit] rt branch, 4.2-trunk, updated. rt-4.2.2-19-g56f5d05

Alex Vandiver alexmv at bestpractical.com
Thu Feb 6 14:10:45 EST 2014


The branch, 4.2-trunk has been updated
       via  56f5d058760eb6443226723dfaa19d766b2f5cb6 (commit)
      from  9c2b104ea043043dd40c64636346735c7ed44556 (commit)

Summary of changes:
 share/html/Elements/EditCustomFields | 2 +-
 share/html/Elements/ShowCustomFields | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit 56f5d058760eb6443226723dfaa19d766b2f5cb6
Author: Matt Zagrabelny <mzagrabe at d.umn.edu>
Date:   Fri Jan 31 14:40:22 2014 -0600

    Add CF parameter to {Edit,Show}CustomFields BeforeCustomFields callback
    
    Allow BeforeCustomFields to "act" like a MassageCustomFields callback
    later in the component.

diff --git a/share/html/Elements/EditCustomFields b/share/html/Elements/EditCustomFields
index 904991e..57cf673 100644
--- a/share/html/Elements/EditCustomFields
+++ b/share/html/Elements/EditCustomFields
@@ -46,7 +46,7 @@
 %#
 %# END BPS TAGGED BLOCK }}}
 % $m->callback( CallbackName => 'BeforeCustomFields', Object => $Object,
-%               Grouping => $Grouping, ARGSRef => \%ARGS );
+%               Grouping => $Grouping, ARGSRef => \%ARGS, CustomFields => $CustomFields);
 % if ( $WRAP ) {
 <<% $WRAP %> class="edit-custom-fields">
 % }
diff --git a/share/html/Elements/ShowCustomFields b/share/html/Elements/ShowCustomFields
index 1cc3ec6..f25a362 100644
--- a/share/html/Elements/ShowCustomFields
+++ b/share/html/Elements/ShowCustomFields
@@ -46,7 +46,7 @@
 %#
 %# END BPS TAGGED BLOCK }}}
 % $m->callback( CallbackName => 'BeforeCustomFields', Object => $Object,
-%               Grouping => $Grouping, ARGSRef => \%ARGS );
+%               Grouping => $Grouping, ARGSRef => \%ARGS, CustomFields => $CustomFields );
 % if ($Table) {
 <table>
 % }

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


More information about the rt-commit mailing list