FIX Don't escape values on TreeDropdownField readonly views

They typically output TreeTitle() which is assumed to be HTML.
This commit is contained in:
Ingo Schommer 2013-02-04 17:14:53 +01:00
parent 5205a4403b
commit 857d8bb8df

View File

@ -369,6 +369,7 @@ class TreeDropdownField_Readonly extends TreeDropdownField {
$field = new LookupField($this->name, $this->title, $source);
$field->setValue($this->value);
$field->setForm($this->form);
$field->dontEscape = true;
return $field->Field();
}
}