diff options
author | Jim Brandt <jbrandt@bestpractical.com> | 2022-08-08 22:14:06 +0300 |
---|---|---|
committer | Jim Brandt <jbrandt@bestpractical.com> | 2022-08-08 22:14:06 +0300 |
commit | 9c42a176ed087ffbc703b963f9c35d2958bca978 (patch) | |
tree | 53e07eadcdec57884db427517bd56b29f0de6108 | |
parent | 0424423db5da4919eb7fda29aa6e564b086a7b38 (diff) |
Add callback to modify content presented via TitleBox5.0/titlebox-callback
-rw-r--r-- | share/html/Widgets/TitleBox | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/share/html/Widgets/TitleBox b/share/html/Widgets/TitleBox index 43735d0c19..042ca49604 100644 --- a/share/html/Widgets/TitleBox +++ b/share/html/Widgets/TitleBox @@ -59,5 +59,7 @@ $hide_chrome => 0 </%ARGS> <%INIT> my $content = $m->content; +$m->callback( CallbackName => "ModifyContent", ARGSRef => \%ARGS, Content => \$content, + Class => \$class, HideEmpty => \$hide_empty, HideChrome => \$hide_chrome ); return if $hide_empty && $content =~ /^\s*$/s; </%INIT> |