mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +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
|
||||
if ($cell['span'])
|
||||
{
|
||||
$this->set_attributes($widget,'span,class',$cell['span']);
|
||||
unset($cell['span']);
|
||||
list($span, $class) = explode(',', $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':
|
||||
if ($cell['type'] != 'select') // one of the sub-types
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user