[Rt-commit] r8583 - in rt/branches/3.7-EXPERIMENTAL-TUNIS: .
thayes at bestpractical.com
thayes at bestpractical.com
Thu Aug 16 15:03:50 EDT 2007
Author: thayes
Date: Thu Aug 16 15:03:48 2007
New Revision: 8583
Modified:
rt/branches/3.7-EXPERIMENTAL-TUNIS/ (props changed)
rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/Display.html
rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/Forward.html
rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/History.html
rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/Modify.html
rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/ModifyAll.html
rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/ModifyDates.html
rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/ModifyLinks.html
rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/ModifyPeople.html
rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/Reminders.html
rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/Update.html
Log:
r8809 at toth: toth | 2007-08-16 15:02:32 -0400
* Modified callback names to be more general (not involve "Lock" specifically
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/Display.html
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/Display.html (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/Display.html Thu Aug 16 15:03:48 2007
@@ -52,7 +52,7 @@
current_tab => 'Ticket/Display.html?id='.$TicketObj->id,
Title => loc("#[_1]: [_2]", $TicketObj->Id, $TicketObj->Subject) &>
-% $m->callback(CallbackName => 'ShowLock', %ARGS, Ticket => $TicketObj);
+% $m->callback(CallbackName => 'BeforeActionList', %ARGS, Ticket => $TicketObj);
<& /Elements/ListActions, actions => \@Actions &>
<& Elements/ShowUpdateStatus, Ticket => $TicketObj &>
@@ -91,6 +91,12 @@
my (@Actions, $Tickets);
+
+$m->callback(CallbackName => 'ProcessArguments',
+ Ticket => $TicketObj,
+ ARGSref => \%ARGS,
+ Actions => \@Actions);
+
unless ($id || $TicketObj) {
Abort('No ticket specified');
}
@@ -130,11 +136,6 @@
}
}
- $m->callback(CallbackName => 'ProcessLockArgument',
- Ticket => $TicketObj,
- ARGSref => \%ARGS,
- Actions => \@Actions);
-
# if ( defined $ARGS{'Lock'} ) {
# if ( $ARGS{'Lock'} eq 'add' ) {
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/Forward.html
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/Forward.html (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/Forward.html Thu Aug 16 15:03:48 2007
@@ -51,7 +51,7 @@
Title => $Title,
&>
-% $m->callback(CallbackName => 'ShowLock', Ticket => $TicketObj);
+% $m->callback(CallbackName => 'BeforeActionList', Ticket => $TicketObj);
<& /Elements/ListActions, actions => \@results &>
<form action="Forward.html" name="ForwardMessage" method="post">
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/History.html
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/History.html (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/History.html Thu Aug 16 15:03:48 2007
@@ -50,7 +50,8 @@
Ticket => $Ticket, current_tab => 'Ticket/History.html?id='.$Ticket->id,
Title => loc("Ticket History # [_1] [_2]", $Ticket->Id, $Ticket->Subject) &>
-% $m->callback(CallbackName => 'ShowLock', Ticket => $Ticket);
+% $m->callback(CallbackName => 'BeforeActionList', Ticket => $Ticket);
+
<br />
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/Modify.html
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/Modify.html (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/Modify.html Thu Aug 16 15:03:48 2007
@@ -50,7 +50,7 @@
Ticket => $TicketObj, current_subtab => "Ticket/Modify.html?id=".$TicketObj->Id,
Title => loc('Modify ticket #[_1]', $TicketObj->Id) &>
-% $m->callback(CallbackName => 'ShowLock', Ticket => $TicketObj);
+% $m->callback(CallbackName => 'BeforeActionList', Ticket => $TicketObj);
<& /Elements/ListActions, actions => \@results &>
<form method="post" action="Modify.html" enctype="multipart/form-data">
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/ModifyAll.html
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/ModifyAll.html (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/ModifyAll.html Thu Aug 16 15:03:48 2007
@@ -51,7 +51,7 @@
current_tab => "Ticket/ModifyAll.html?id=".$Ticket->Id,
Title => loc("Ticket #[_1] Jumbo update: [_2]", $Ticket->Id, $Ticket->Subject) &>
-% $m->callback(CallbackName => 'ShowLock', Ticket => $Ticket);
+% $m->callback(CallbackName => 'BeforeActionList', Ticket => $Ticket);
<& /Elements/ListActions, actions => \@results &>
<form method="post" action="ModifyAll.html" enctype="multipart/form-data">
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/ModifyDates.html
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/ModifyDates.html (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/ModifyDates.html Thu Aug 16 15:03:48 2007
@@ -51,7 +51,7 @@
current_tab => "Ticket/ModifyDates.html?id=".$TicketObj->Id,
Title => loc('Modify dates for #[_1]', $TicketObj->Id) &>
-% $m->callback(CallbackName => 'ShowLock', Ticket => $TicketObj);
+% $m->callback(CallbackName => 'BeforeActionList', Ticket => $TicketObj);
<& /Elements/ListActions, actions => \@results &>
<form method="post" action="ModifyDates.html">
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/ModifyLinks.html
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/ModifyLinks.html (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/ModifyLinks.html Thu Aug 16 15:03:48 2007
@@ -51,7 +51,7 @@
current_tab => "Ticket/ModifyLinks.html?id=".$Ticket->Id,
Title => loc("Link ticket #[_1]", $Ticket->Id) &>
-% $m->callback(CallbackName => 'ShowLock', Ticket => $Ticket);
+% $m->callback(CallbackName => 'BeforeActionList', Ticket => $Ticket);
<& /Elements/ListActions, actions => \@results &>
<form action="ModifyLinks.html" method="post">
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/ModifyPeople.html
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/ModifyPeople.html (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/ModifyPeople.html Thu Aug 16 15:03:48 2007
@@ -51,7 +51,7 @@
current_tab => "Ticket/ModifyPeople.html?id=".$Ticket->Id,
Title => loc('Modify people related to ticket #[_1]', $Ticket->id) &>
-% $m->callback(CallbackName => 'ShowLock', Ticket => $Ticket);
+% $m->callback(CallbackName => 'BeforeActionList', Ticket => $Ticket);
<& /Elements/ListActions, actions => \@results &>
<form method="post" action="ModifyPeople.html">
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/Reminders.html
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/Reminders.html (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/Reminders.html Thu Aug 16 15:03:48 2007
@@ -51,7 +51,7 @@
current_tab => "Ticket/Reminders.html?id=".$Ticket->Id,
Title => loc("Reminders for ticket #[_1]", $Ticket->Id) &>
-% $m->callback(CallbackName => 'ShowLock', Ticket => $Ticket);
+% $m->callback(CallbackName => 'BeforeActionList', Ticket => $Ticket);
<form action="<%RT->Config->Get('WebPath')%>/Ticket/Reminders.html" method="post">
<&|/Widgets/TitleBox, title => loc("Reminders"),
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/Update.html
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/Update.html (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/Update.html Thu Aug 16 15:03:48 2007
@@ -50,7 +50,7 @@
Ticket => $TicketObj,
Title=> $title &>
-% $m->callback(CallbackName => 'ShowLock', Ticket => $TicketObj);
+% $m->callback(CallbackName => 'BeforeActionList', Ticket => $TicketObj);
<form action="Update.html" name="TicketUpdate"
method="post" enctype="multipart/form-data">
More information about the Rt-commit
mailing list