Skip to content

Commit 5a040d5

Browse files
committed
Add callback to massage CFs on BulkCustomFields element
In some cases, we might want to remove custom fields from the list of available custom fields for bulk update. This patch adds a callback to the BulkCustomFields element to allow for this.
1 parent 5d9b751 commit 5a040d5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

share/html/Elements/BulkCustomFields

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,4 +143,6 @@ $CustomFields
143143
</%ARGS>
144144
<%INIT>
145145
return unless $CustomFields->Count;
146+
147+
$m->callback( %ARGS, CallbackName => 'MassageCustomFields', CustomFields => $CustomFields );
146148
</%INIT>

0 commit comments

Comments
 (0)