fixed #9296: Thingy View template not recognising field_isVisible

This commit is contained in:
Yung Han Khoe 2008-12-16 12:08:16 +00:00
parent d5e9af23e2
commit a0c6acd257
2 changed files with 6 additions and 0 deletions

View file

@ -15,6 +15,8 @@
- fixed #8898: versioning problem
- fixed #9315: Password Recovery
- fixed #9298: Inconsistent date formats
- fixed #9296: Thingy View template not recognising field_isVisible (SDH
Consulting Group)
7.6.6
- fixed #8792: Image Preview gives ERROR in Collateral Manager

View file

@ -1048,6 +1048,10 @@ sub getViewThingVars {
"label" => $field{label},
"isHidden" => $hidden,
"url" => $otherThingUrl,
"isVisible" => ($field{status} eq "visible" && !$hidden),
"isRequired" => ($field{status} eq "required" && !$hidden),
"pretext" => $field{pretext},
"subtext" => $field{subtext},
);
push(@viewScreenTitleFields,$value) if ($field{viewScreenTitle});
push(@field_loop, { map {("field_".$_ => $fieldProperties{$_})} keys(%fieldProperties) });