[Rt-commit] r8717 -
rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident
ruz at bestpractical.com
ruz at bestpractical.com
Fri Aug 24 10:22:13 EDT 2007
Author: ruz
Date: Fri Aug 24 10:22:11 2007
New Revision: 8717
Modified:
rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Reply.html
Log:
* we don't want to pass original arguments into Display.html,
so we add new argument in the callback to allow implementors to
push arguments into it
Modified: rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Reply.html
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Reply.html (original)
+++ rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Incident/Reply.html Fri Aug 24 10:22:11 2007
@@ -218,9 +218,15 @@
push @results, loc("State of the Incident left unchanged; not all children were updated");
}
- $m->callback(CallbackName => 'BeforeDisplay', ARGSRef => \%ARGS, Ticket => $IncidentObj);
+ my $pass = {};
+ $m->callback(
+ CallbackName => 'BeforeDisplay',
+ ARGSRef => \%ARGS,
+ PassArguments => $pass,
+ Ticket => $IncidentObj
+ );
# NOTE: don't pass %ARGS further as we've done everything we need here
- return $m->comp("Display.html", results => \@results, id => $id);
+ return $m->comp("Display.html", %$pass, results => \@results, id => $id);
}
# XXX, BLOODY-DIRTY-EVIL HACK: when we load the page first time we should
More information about the Rt-commit
mailing list