From b0fcf8f17c393c411ef76da05ebc56b05409a3ec Mon Sep 17 00:00:00 2001 From: JT Smith Date: Thu, 17 Mar 2005 20:32:58 +0000 Subject: [PATCH] more bug fixes --- docs/changelog/6.x.x.txt | 1 + lib/WebGUI/Asset/Wobject/DataForm.pm | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/changelog/6.x.x.txt b/docs/changelog/6.x.x.txt index 71e588ddb..e19b75cac 100644 --- a/docs/changelog/6.x.x.txt +++ b/docs/changelog/6.x.x.txt @@ -14,6 +14,7 @@ - fix [ 1165425 ] View Userprofile - Style is missing for non-public profiles - fix [ 1165434 ] View Userprofile - Perm. denied page not parsed for macros - fix [ 1138654 ] 6.3 CVS - raw form parameter not processed + - fix [ 1164202 ] Data Form field types are not sticky when re-edited - fix [ 1149529 ] 6.3 CVS: Content positions don't save and [ 1149801 ] page position not maintained (Martin Kamerbeek) diff --git a/lib/WebGUI/Asset/Wobject/DataForm.pm b/lib/WebGUI/Asset/Wobject/DataForm.pm index 6bf009808..087fc65c6 100644 --- a/lib/WebGUI/Asset/Wobject/DataForm.pm +++ b/lib/WebGUI/Asset/Wobject/DataForm.pm @@ -707,12 +707,12 @@ sub www_editField { -name=>"status", -options=>\%fieldStatus, -label=>WebGUI::International::get(22,"DataForm"), - -value=>[ $field{status} || "editable" ] + -value=>[ $field{status} ] || [ "editable" ] ); $f->fieldType( -name=>"type", -label=>WebGUI::International::get(23,"DataForm"), - -value=>[$field{type} || "text"] + -value=>$field{type} || "text" ); $f->integer( -name=>"width",