matrix bug fixes

This commit is contained in:
Yung Han Khoe 2008-12-12 12:20:54 +00:00
parent 8fa164200a
commit 80d7ac6ae1
4 changed files with 16 additions and 6 deletions

View file

@ -887,6 +887,7 @@ sub www_getAttributes {
$attribute->{label} = $attribute->{name};
$attribute->{attributeId} =~ s/-/_____/g;
if ($attribute->{fieldType} eq 'MatrixCompare'){
$attribute->{compareColor} = $self->getParent->getCompareColor($attribute->{value});
$attribute->{value} = WebGUI::Form::MatrixCompare->new($self->session,$attribute)->getValueAsHtml;
}
if($session->scratch->get('stickied_'.$attribute->{attributeId})){