Updated www_editMetaDataField to 'remember' the field type. $f->fieldType() wants a scalar, not an arrayref.

This commit is contained in:
Daniel Collis-Puro 2005-06-07 02:12:45 +00:00
parent e578906387
commit 8cf3d889b8

View file

@ -2721,7 +2721,7 @@ sub www_editMetaDataField {
$f->fieldType(
-name=>"fieldType",
-label=>WebGUI::International::get(486,"Asset"),
-value=>[$fieldInfo->{fieldType} || "text"],
-value=>$fieldInfo->{fieldType} || "text",
-types=> [ qw /text integer yesNo selectList radioList/ ]
);
$f->textarea("possibleValues",WebGUI::International::get(487,"Asset"),$fieldInfo->{possibleValues});