[Rt-commit] r19834 - in rt/3.8/trunk/share/html: Elements
ruz at bestpractical.com
ruz at bestpractical.com
Mon Jun 1 19:19:51 EDT 2009
Author: ruz
Date: Mon Jun 1 19:19:51 2009
New Revision: 19834
Modified:
rt/3.8/trunk/share/html/Elements/EditCustomField
rt/3.8/trunk/share/html/Ticket/Elements/EditCustomFields
Log:
* pass more context into callbacks
Modified: rt/3.8/trunk/share/html/Elements/EditCustomField
==============================================================================
--- rt/3.8/trunk/share/html/Elements/EditCustomField (original)
+++ rt/3.8/trunk/share/html/Elements/EditCustomField Mon Jun 1 19:19:51 2009
@@ -83,7 +83,7 @@
$m->out("\n".'<input type="hidden" class="hidden" name="'.$NamePrefix.$CustomField->Id.'-Values-Magic" value="1" />'."\n");
my $EditComponent = "EditCustomField$Type";
-$m->callback( CallbackName => 'EditComponentName', Name => \$EditComponent, CustomField => $CustomField, Object => $Object );
+$m->callback( %ARGS, CallbackName => 'EditComponentName', Name => \$EditComponent, CustomField => $CustomField, Object => $Object );
$EditComponent = "EditCustomField$Type" unless $m->comp_exists($EditComponent);
return $m->comp(
Modified: rt/3.8/trunk/share/html/Ticket/Elements/EditCustomFields
==============================================================================
--- rt/3.8/trunk/share/html/Ticket/Elements/EditCustomFields (original)
+++ rt/3.8/trunk/share/html/Ticket/Elements/EditCustomFields Mon Jun 1 19:19:51 2009
@@ -59,6 +59,7 @@
</td>
<td class="entry">
<& /Elements/EditCustomField,
+ %ARGS,
Object => $TicketObj,
CustomField => $CustomField,
NamePrefix => $NamePrefix,
More information about the Rt-commit
mailing list