[Rt-commit] r7561 - in rt/branches/3.7-EXPERIMENTAL: .

jesse at bestpractical.com jesse at bestpractical.com
Wed Apr 18 20:54:19 EDT 2007


Author: jesse
Date: Wed Apr 18 20:54:18 2007
New Revision: 7561

Modified:
   rt/branches/3.7-EXPERIMENTAL/   (props changed)
   rt/branches/3.7-EXPERIMENTAL/html/Ticket/Update.html

Log:
 r55716 at 241:  jesse | 2007-04-18 13:54:36 -0400
 Swapping %ARGS to not clobber the CallbackName (Caused errors with RTFM)


Modified: rt/branches/3.7-EXPERIMENTAL/html/Ticket/Update.html
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Ticket/Update.html	(original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Ticket/Update.html	Wed Apr 18 20:54:18 2007
@@ -65,7 +65,7 @@
 <& /Elements/SelectTimeUnits, Name => 'UpdateTimeWorked'&>
 </td></tr>
 % my $skip;
-% $m->callback( CallbackName => 'BeforeUpdateType', skip => \$skip, %ARGS );
+% $m->callback( %ARGS, CallbackName => 'BeforeUpdateType', skip => \$skip );
 % if (!$skip) {
 <input type="hidden" class="hidden" name="id" value="<%$TicketObj->Id%>" /><br />
 % }
@@ -116,7 +116,7 @@
 </table></td></tr>
 
 <tr><td align="right" valign="top"><&|/l&>Message</&>:</td><td>
-% $m->callback( CallbackName => 'BeforeMessageBox', %ARGS );
+% $m->callback( %ARGS, CallbackName => 'BeforeMessageBox' );
 % if (exists $ARGS{UpdateContent}) {
 % # preserve QuoteTransaction so we can use it to set up sane references/in/reply to
 % my $temp = $ARGS{'QuoteTransaction'};


More information about the Rt-commit mailing list