diff options
author | ivan <ivan> | 2006-10-17 08:51:01 +0000 |
---|---|---|
committer | ivan <ivan> | 2006-10-17 08:51:01 +0000 |
commit | c8cccb4a92adceb943c635fe62dad0d034462ce0 (patch) | |
tree | 0a33472e21f5174091e49e245f5bd68a235d4d50 /rt/html/Elements/EditCustomField | |
parent | acd0f14d8f619055b4292c178b14682974fb0099 (diff) | |
parent | a513c0bef534d05f03c1242831b6f3be19b97dae (diff) |
This commit was generated by cvs2svn to compensate for changes in r4888,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'rt/html/Elements/EditCustomField')
-rw-r--r-- | rt/html/Elements/EditCustomField | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rt/html/Elements/EditCustomField b/rt/html/Elements/EditCustomField index d2398c9da..e443c764e 100644 --- a/rt/html/Elements/EditCustomField +++ b/rt/html/Elements/EditCustomField @@ -49,6 +49,10 @@ if ($Object) { $Values = $Object->CustomFieldValues($CustomField->id); $Values->Columns( qw( id CustomField ObjectType ObjectId Disabled Content ContentType ContentEncoding ) ); $NamePrefix ||= join('-', 'Object', ref($Object), $Object->Id, 'CustomField', ''); +} elsif (not $Default) { + my %TOP = $m->request_args; + $Default = $TOP{ $NamePrefix .$CustomField->Id . '-Values' } + || $TOP{ $NamePrefix .$CustomField->Id . '-Value' }; } my $Type = $CustomField->Type; |