forward porting DataForm inTab template variable fix

This commit is contained in:
Colin Kuskie 2008-11-16 03:39:33 +00:00
parent 58a2681dce
commit a6d27ddd22
2 changed files with 2 additions and 1 deletions

View file

@ -18,6 +18,7 @@
- fixed #4182: Edit links show in asset manager for locked assets
- fixed #8971: UserList shows accounts that have been self-deactivated (Bernd Kalbfuß-Zimmermann)
- fixed #4199: Default values of user profile fields are not filled in correctly when shown by the UserList asset (Bernd Kalbfuß-Zimmerman)
- fixed #9068: field.inTab
7.6.3
- improved performance of file uploads

View file

@ -693,7 +693,6 @@ sub getRecordTemplateVars {
"form" => $form->toHtml,
"name" => $field->{name},
"tid" => $field->{tabId},
"inTab".$field->{tabId} => 1,
"value" => $form->getValueAsHtml,
"label" => $field->{label},
"isMailField" => $field->{isMailField},
@ -703,6 +702,7 @@ sub getRecordTemplateVars {
"subtext" => $field->{subtext},
"type" => $field->{type},
"controls" => $self->_fieldAdminIcons($field->{name}),
"inTab" => ($field->{tabId} ? 1 : 0),
);
my %fieldLoopEntry;
my %tabLoopEntry;