[Bps-public-commit] r8703 - in RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking: RTIR/Create.html RTIR/Display.html RTIR/Edit.html RTIR/Incident/Create.html RTIR/Incident/Display.html RTIR/Incident/Edit.html RTIR/Incident/Reply.html RTIR/Update.html Ticket/Update.html
ruz at bestpractical.com
ruz at bestpractical.com
Thu Aug 23 14:41:14 EDT 2007
Author: ruz
Date: Thu Aug 23 14:41:11 2007
New Revision: 8703
Modified:
RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/RTIR/Create.html/BeforeDisplay
RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/RTIR/Display.html/ProcessArguments
RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/RTIR/Edit.html/BeforeDisplay
RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/RTIR/Incident/Create.html/BeforeDisplay
RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/RTIR/Incident/Create.html/ProcessArguments
RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/RTIR/Incident/Display.html/ProcessArguments
RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/RTIR/Incident/Display.html/ThisLinkedToIR
RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/RTIR/Incident/Edit.html/BeforeDisplay
RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/RTIR/Incident/Reply.html/BeforeDisplay
RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/RTIR/Update.html/BeforeDisplay
RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/Ticket/Display.html/ProcessArguments
RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/Ticket/Update.html/BeforeDisplay
Log:
* ARGSref -> ARGSRef
Modified: RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/RTIR/Create.html/BeforeDisplay
==============================================================================
--- RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/RTIR/Create.html/BeforeDisplay (original)
+++ RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/RTIR/Create.html/BeforeDisplay Thu Aug 23 14:41:11 2007
@@ -1,12 +1,12 @@
<%ARGS>
$Ticket
-$ARGSref => undef
+$ARGSRef => undef
</%ARGS>
<%INIT>
if($Ticket) {
my ($d) = $Ticket->Unlock();
- $$ARGSref{'Duration'} = $d unless $$ARGSref{'Duration'};
- $$ARGSref{'Id'} = $Ticket->id;
+ $$ARGSRef{'Duration'} = $d unless $$ARGSRef{'Duration'};
+ $$ARGSRef{'Id'} = $Ticket->id;
}
</%INIT>
Modified: RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/RTIR/Display.html/ProcessArguments
==============================================================================
--- RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/RTIR/Display.html/ProcessArguments (original)
+++ RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/RTIR/Display.html/ProcessArguments Thu Aug 23 14:41:11 2007
@@ -1,11 +1,11 @@
<%ARGS>
$Ticket
$Actions => undef
-$ARGSref => undef
+$ARGSRef => undef
</%ARGS>
<%INIT>
-my $Lock = $$ARGSref{'Lock'};
+my $Lock = $$ARGSRef{'Lock'};
return unless $Lock;
if ($Lock eq 'add') {
if ($Ticket->Lock('Hard')) {
@@ -19,7 +19,7 @@
my ($elapsed, $msg) = $Ticket->Unlock('Hard');
push @$Actions, loc($msg);
#print "Elapsed: $elapsed";
- $$ARGSref{'Duration'} = $elapsed if $elapsed;
+ $$ARGSRef{'Duration'} = $elapsed if $elapsed;
return;
}
if ($Lock eq 'break') {
Modified: RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/RTIR/Edit.html/BeforeDisplay
==============================================================================
--- RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/RTIR/Edit.html/BeforeDisplay (original)
+++ RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/RTIR/Edit.html/BeforeDisplay Thu Aug 23 14:41:11 2007
@@ -1,9 +1,9 @@
<%ARGS>
$Ticket
-$ARGSref => undef
+$ARGSRef => undef
</%ARGS>
<%INIT>
my ($d) = $Ticket->Unlock();
-$$ARGSref{'Duration'} = $d unless $$ARGSref{'Duration'};
+$$ARGSRef{'Duration'} = $d unless $$ARGSRef{'Duration'};
</%INIT>
Modified: RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/RTIR/Incident/Create.html/BeforeDisplay
==============================================================================
--- RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/RTIR/Incident/Create.html/BeforeDisplay (original)
+++ RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/RTIR/Incident/Create.html/BeforeDisplay Thu Aug 23 14:41:11 2007
@@ -1,12 +1,12 @@
<%ARGS>
$Child
-$ARGSref
+$ARGSRef
</%ARGS>
<%INIT>
return unless $Child;
-$$ARGSref{'Id'} = $Child->id;
+$$ARGSRef{'Id'} = $Child->id;
my ($d) = $Child->Unlock();
-$$ARGSref{'Duration'} = $d unless $$ARGSref{'Duration'};
+$$ARGSRef{'Duration'} = $d unless $$ARGSRef{'Duration'};
</%INIT>
Modified: RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/RTIR/Incident/Create.html/ProcessArguments
==============================================================================
--- RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/RTIR/Incident/Create.html/ProcessArguments (original)
+++ RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/RTIR/Incident/Create.html/ProcessArguments Thu Aug 23 14:41:11 2007
@@ -1,24 +1,24 @@
<%ARGS>
$Ticket => undef
$Child => undef
-$ARGSref => undef
+$ARGSRef => undef
</%ARGS>
<%INIT>
#Split form has been submitted
-if($Ticket && ($$ARGSref{'CreateIncident'} || $$ARGSref{'CreateWithInvestigation'})) {
- $$ARGSref{'Id'} = $$ARGSref{'Ticket'};
+if($Ticket && ($$ARGSRef{'CreateIncident'} || $$ARGSRef{'CreateWithInvestigation'})) {
+ $$ARGSRef{'Id'} = $$ARGSRef{'Ticket'};
my ($d) = $Ticket->Unlock();
- $$ARGSref{'Duration'} = $d unless $$ARGSref{'Duration'};
+ $$ARGSRef{'Duration'} = $d unless $$ARGSRef{'Duration'};
return;
}
if($Child) {
# We don't want to bother even trying to lock if the form has been submitted
# (it will have been locked upon first rendering of the creation page)
- unless($$ARGSref{'CreateIncident'} || $$ARGSref{'CreateWithInvestigation'}) {
+ unless($$ARGSRef{'CreateIncident'} || $$ARGSRef{'CreateWithInvestigation'}) {
$Child->Lock();
}
- $$ARGSref{'Id'} = $$ARGSref{'Child'};
+ $$ARGSRef{'Id'} = $$ARGSRef{'Child'};
}
</%INIT>
Modified: RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/RTIR/Incident/Display.html/ProcessArguments
==============================================================================
--- RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/RTIR/Incident/Display.html/ProcessArguments (original)
+++ RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/RTIR/Incident/Display.html/ProcessArguments Thu Aug 23 14:41:11 2007
@@ -1,11 +1,11 @@
<%ARGS>
$Ticket
$Actions => undef
-$ARGSref => undef
+$ARGSRef => undef
</%ARGS>
<%INIT>
-my $Lock = $$ARGSref{'Lock'};
+my $Lock = $$ARGSRef{'Lock'};
return unless $Lock;
if ($Lock eq 'add') {
if ($Ticket->Lock('Hard')) {
@@ -18,7 +18,7 @@
if ( $Lock eq 'remove' ) {
my ($elapsed, $msg) = $Ticket->Unlock('Hard');
push @$Actions, loc($msg);
- $$ARGSref{'Duration'} = $elapsed if $elapsed;
+ $$ARGSRef{'Duration'} = $elapsed if $elapsed;
return;
}
if ($Lock eq 'break') {
Modified: RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/RTIR/Incident/Display.html/ThisLinkedToIR
==============================================================================
--- RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/RTIR/Incident/Display.html/ThisLinkedToIR (original)
+++ RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/RTIR/Incident/Display.html/ThisLinkedToIR Thu Aug 23 14:41:11 2007
@@ -1,10 +1,10 @@
<%ARGS>
$Child
-$ARGSref
+$ARGSRef
</%ARGS>
<%INIT>
my ($d) = $Child->Unlock('Take');
-$$ARGSref{'Id'} = $Child->id;
-$$ARGSref{'Duration'} = $d unless $$ARGSref{'Duration'};
+$$ARGSRef{'Id'} = $Child->id;
+$$ARGSRef{'Duration'} = $d unless $$ARGSRef{'Duration'};
</%INIT>
Modified: RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/RTIR/Incident/Edit.html/BeforeDisplay
==============================================================================
--- RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/RTIR/Incident/Edit.html/BeforeDisplay (original)
+++ RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/RTIR/Incident/Edit.html/BeforeDisplay Thu Aug 23 14:41:11 2007
@@ -1,9 +1,9 @@
<%ARGS>
$Ticket
-$ARGSref => undef
+$ARGSRef => undef
</%ARGS>
<%INIT>
my ($d) = $Ticket->Unlock();
-$$ARGSref{'Duration'} = $d unless $$ARGSref{'Duration'};
+$$ARGSRef{'Duration'} = $d unless $$ARGSRef{'Duration'};
</%INIT>
Modified: RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/RTIR/Incident/Reply.html/BeforeDisplay
==============================================================================
--- RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/RTIR/Incident/Reply.html/BeforeDisplay (original)
+++ RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/RTIR/Incident/Reply.html/BeforeDisplay Thu Aug 23 14:41:11 2007
@@ -1,9 +1,9 @@
<%ARGS>
$Ticket
-$ARGSref => undef
+$ARGSRef => undef
</%ARGS>
<%INIT>
my ($d) = $Ticket->Unlock();
-$$ARGSref{'Duration'} = $d unless $$ARGSref{'Duration'};
+$$ARGSRef{'Duration'} = $d unless $$ARGSRef{'Duration'};
</%INIT>
Modified: RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/RTIR/Update.html/BeforeDisplay
==============================================================================
--- RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/RTIR/Update.html/BeforeDisplay (original)
+++ RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/RTIR/Update.html/BeforeDisplay Thu Aug 23 14:41:11 2007
@@ -1,9 +1,9 @@
<%ARGS>
$Ticket
-$ARGSref => undef
+$ARGSRef => undef
</%ARGS>
<%INIT>
my ($d) = $Ticket->Unlock();
-$$ARGSref{'Duration'} = $d unless $$ARGSref{'Duration'};
+$$ARGSRef{'Duration'} = $d unless $$ARGSRef{'Duration'};
</%INIT>
Modified: RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/Ticket/Display.html/ProcessArguments
==============================================================================
--- RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/Ticket/Display.html/ProcessArguments (original)
+++ RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/Ticket/Display.html/ProcessArguments Thu Aug 23 14:41:11 2007
@@ -1,11 +1,11 @@
<%ARGS>
$Ticket
$Actions => undef
-$ARGSref => undef
+$ARGSRef => undef
</%ARGS>
<%INIT>
-my $Lock = $$ARGSref{'Lock'};
+my $Lock = $$ARGSRef{'Lock'};
return unless $Lock;
if ($Lock eq 'add') {
if ($Ticket->Lock('Hard')) {
@@ -18,7 +18,7 @@
if ( $Lock eq 'remove' ) {
my ($elapsed, $msg) = $Ticket->Unlock('Hard');
push @$Actions, loc($msg);
- $$ARGSref{'Duration'} = $elapsed if $elapsed;
+ $$ARGSRef{'Duration'} = $elapsed if $elapsed;
return;
}
if ($Lock eq 'break') {
Modified: RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/Ticket/Update.html/BeforeDisplay
==============================================================================
--- RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/Ticket/Update.html/BeforeDisplay (original)
+++ RT-Extension-TicketLocking/html/Callbacks/RT-Extension-TicketLocking/Ticket/Update.html/BeforeDisplay Thu Aug 23 14:41:11 2007
@@ -1,11 +1,11 @@
<%ARGS>
$Ticket
-$ARGSref => undef
+$ARGSRef => undef
</%ARGS>
<%INIT>
if($Ticket) {
my ($d) = $Ticket->Unlock();
- $$ARGSref{'Duration'} = $d unless $$ARGSref{'Duration'};
+ $$ARGSRef{'Duration'} = $d unless $$ARGSRef{'Duration'};
}
</%INIT>
More information about the Bps-public-commit
mailing list