Skip to content

Commit

Permalink
Merge branch '5.0/add-callbacks-conditional-cfs' into 5.0-trunk
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrandtbuffalo committed Nov 7, 2023
2 parents 04ed083 + bd40532 commit 96ca7dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions share/html/Admin/CustomFields/Modify.html
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,8 @@
push (@results, $msg);
}

$m->callback(CallbackName => 'Massage', CustomField => $CustomFieldObj, Results => \@results, ARGSRef => \%ARGS);

# Update any existing values
my $values = $CustomFieldObj->ValuesObj;
while ( my $value = $values->Next ) {
Expand Down
1 change: 1 addition & 0 deletions share/html/Articles/Article/Elements/EditCustomFields
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
Cols => 70
&>
</&>
$m->callback( CallbackName => 'AfterCustomFieldValue', CustomField => $CustomField, Object => $ArticleObj);
% }
<%INIT>
my $CustomFields;
Expand Down

0 comments on commit 96ca7dd

Please sign in to comment.