[freeside-commits] freeside/rt/share/html/Admin/Elements EditCustomFields, 1.3.2.1, 1.3.2.2
Ivan,,,
ivan at wavetail.420.am
Mon Apr 18 17:23:59 PDT 2011
- Previous message: [freeside-commits] freeside/rt/sbin rt-setup-database.in, 1.12.4.1, 1.12.4.2
- Next message: [freeside-commits] freeside/FS/FS msa_Data.pm, NONE, 1.1 lata_Data.pm, NONE, 1.1 lata.pm, 1.1, 1.2 msa.pm, 1.1, 1.2 phone_avail.pm, 1.13, 1.14 Schema.pm, 1.287, 1.288 Setup.pm, 1.22, 1.23 Upgrade.pm, 1.47, 1.48
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/rt/share/html/Admin/Elements
In directory wavetail.420.am:/tmp/cvs-serv5016/share/html/Admin/Elements
Modified Files:
Tag: FREESIDE_2_1_BRANCH
EditCustomFields
Log Message:
landing 3.8.10 on 2.1 branch
Index: EditCustomFields
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/share/html/Admin/Elements/EditCustomFields,v
retrieving revision 1.3.2.1
retrieving revision 1.3.2.2
diff -u -w -d -r1.3.2.1 -r1.3.2.2
--- EditCustomFields 8 Apr 2011 23:13:50 -0000 1.3.2.1
+++ EditCustomFields 19 Apr 2011 00:23:57 -0000 1.3.2.2
@@ -59,10 +59,7 @@
Rows => 0,
Page => 1,
Format => $format,
- DisplayFormat =>
- $id
- ? ("'__RemoveCheckBox.{$id}__',". $format .", '__MoveCF.{$id}__'")
- : ("'__CheckBox.{RemoveCustomField}__',". $format .", '__MoveCF.{$id}__'"),
+ DisplayFormat => $display_format,
AllowSorting => 0,
ShowEmpty => 0,
PassArguments => [
@@ -151,6 +148,8 @@
}
}
+$m->callback(CallbackName => 'UpdateExtraFields', Results => \@results, Object => $Object, %ARGS);
+
my $applied_cfs = RT::CustomFields->new( $session{'CurrentUser'} );
$applied_cfs->LimitToLookupType($lookup);
$applied_cfs->LimitToGlobalOrObjectId($id);
@@ -162,6 +161,11 @@
my $format = RT->Config->Get('AdminSearchResultFormat')->{'CustomFields'};
+my $display_format = $id
+ ? ("'__RemoveCheckBox.{$id}__',". $format .", '__MoveCF.{$id}__'")
+ : ("'__CheckBox.{RemoveCustomField}__',". $format .", '__MoveCF.{$id}__'");
+$m->callback(CallbackName => 'EditDisplayFormat', DisplayFormat => \$display_format, id => $id);
+
</%INIT>
<%ARGS>
$Object
- Previous message: [freeside-commits] freeside/rt/sbin rt-setup-database.in, 1.12.4.1, 1.12.4.2
- Next message: [freeside-commits] freeside/FS/FS msa_Data.pm, NONE, 1.1 lata_Data.pm, NONE, 1.1 lata.pm, 1.1, 1.2 msa.pm, 1.1, 1.2 phone_avail.pm, 1.13, 1.14 Schema.pm, 1.287, 1.288 Setup.pm, 1.22, 1.23 Upgrade.pm, 1.47, 1.48
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list