[Rt-commit] r8207 -
rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Elements
ruz at bestpractical.com
ruz at bestpractical.com
Wed Jul 18 08:34:11 EDT 2007
Author: ruz
Date: Wed Jul 18 08:34:11 2007
New Revision: 8207
Modified:
rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Elements/EditRTIRField
Log:
add NamePrefix argument
Modified: rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Elements/EditRTIRField
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Elements/EditRTIRField (original)
+++ rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Elements/EditRTIRField Wed Jul 18 08:34:11 2007
@@ -37,12 +37,11 @@
<%INIT>
my $Values;
-my $NamePrefix;
if ( $TicketObj ) {
$QueueObj = $TicketObj->QueueObj;
- $NamePrefix = "Object-RT::Ticket-".$TicketObj->Id."-CustomField-";
+ $NamePrefix .= "Object-RT::Ticket-".$TicketObj->Id."-CustomField-";
} else {
- $NamePrefix = "Object-RT::Ticket--CustomField-";
+ $NamePrefix .= "Object-RT::Ticket--CustomField-";
}
my $cf = RT::CustomField->new( $session{'CurrentUser'} );
@@ -54,6 +53,7 @@
$TicketObj => undef
$QueueObj => undef
$Name => undef
+$NamePrefix => '',
# Other args
# $Default, $Cols, $Rows
</%ARGS>
More information about the Rt-commit
mailing list