diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 8bbc52dc6..3b7f18718 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -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 diff --git a/lib/WebGUI/Asset/Wobject/DataForm.pm b/lib/WebGUI/Asset/Wobject/DataForm.pm index b06183b86..089d009d7 100644 --- a/lib/WebGUI/Asset/Wobject/DataForm.pm +++ b/lib/WebGUI/Asset/Wobject/DataForm.pm @@ -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;