mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-18 11:58:24 +01:00
put class attribute on menupopup instead of menulist, as that is where et2 looks for it
This commit is contained in:
parent
cfc3550d6f
commit
88dd91fe2a
@ -261,10 +261,18 @@ class xul_io
|
|||||||
case 'menulist': // id,options belongs to the 'menupopup' child
|
case 'menulist': // id,options belongs to the 'menupopup' child
|
||||||
if ($cell['span'])
|
if ($cell['span'])
|
||||||
{
|
{
|
||||||
$this->set_attributes($widget,'span,class',$cell['span']);
|
list($span, $class) = explode(',', $cell['span']);
|
||||||
unset($cell['span']);
|
if (!empty($span)) $this->set_attributes($widget, 'span', $span);
|
||||||
|
if (!empty($class))
|
||||||
|
{
|
||||||
|
$cell['span'] = ','.$class;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
unset($cell['span']);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// fall-trought
|
// fall-through
|
||||||
case 'listbox':
|
case 'listbox':
|
||||||
if ($cell['type'] != 'select') // one of the sub-types
|
if ($cell['type'] != 'select') // one of the sub-types
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user