summaryrefslogtreecommitdiff
path: root/rt/share/html/Dashboards/Subscription.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2016-09-24 10:28:06 -0700
committerIvan Kohler <ivan@freeside.biz>2016-09-24 10:31:23 -0700
commit9ce482da3960ee43decee41fba53b78c12c3e52c (patch)
treef7e77a4a2154a3f259fc41f5c2282a752e4ba200 /rt/share/html/Dashboards/Subscription.html
parent6894828ab5a66e53ad6945cc14e6cd9f9c3b67f7 (diff)
rt 4.2.13 ticket#13852
Diffstat (limited to 'rt/share/html/Dashboards/Subscription.html')
-rw-r--r--rt/share/html/Dashboards/Subscription.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/rt/share/html/Dashboards/Subscription.html b/rt/share/html/Dashboards/Subscription.html
index 3bf39d069..83680ef00 100644
--- a/rt/share/html/Dashboards/Subscription.html
+++ b/rt/share/html/Dashboards/Subscription.html
@@ -2,7 +2,7 @@
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-2016 Best Practical Solutions, LLC
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
@@ -176,6 +176,8 @@
<input name="Recipient" id="Recipient" size="30" value="<%$fields{Recipient} ? $fields{Recipient} : ''%>" />
<div class="hints"><% loc("Leave blank to send to your current email address ([_1])", $session{'CurrentUser'}->EmailAddress) %></div>
</td></tr>
+% $m->callback( %ARGS, CallbackName => 'SubscriptionFormEnd', FieldsRef => \%fields,
+% SubscriptionObj => $SubscriptionObj, DashboardObj => $Dashboard );
</table>
</&>
</td>
@@ -216,6 +218,9 @@ my %fields = (
Counter => 0,
);
+$m->callback( %ARGS, CallbackName => 'SubscriptionFields', FieldsRef => \%fields,
+ SubscriptionObj => $SubscriptionObj, DashboardObj => $Dashboard);
+
# update any fields with the values from the subscription object
if ($SubscriptionObj) {
for my $field (keys %fields) {
@@ -230,6 +235,8 @@ for my $field (keys %fields) {
if defined($ARGS{$field});
}
+$m->callback( %ARGS, CallbackName => 'MassageSubscriptionFields', FieldsRef => \%fields,
+ SubscriptionObj => $SubscriptionObj, DashboardObj => $Dashboard);
# this'll be defined on submit
if (defined $ARGS{Save}) {