set span & class from original cell for single fields

This commit is contained in:
Ralf Becker 2010-08-05 15:36:23 +00:00
parent be91330030
commit 5a03cff75d

View File

@ -436,6 +436,7 @@ class customfields_widget
}
if ($singlefield) // a single field, can & need to be returned instead of the cell (no grid)
{
$input['span'] = $cell['span']; // set span & class from original cell
$cell = $input;
if ($type == 'customfields') $cell['label'] = $field['label'];
$value = $value[$this->prefix.$lname];