mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
Minor fixes / avoid warnings
This commit is contained in:
parent
5e76d4197e
commit
d194845e4e
@ -289,6 +289,11 @@ class etemplate_widget_menupopup extends etemplate_widget
|
|||||||
'label' => $s,
|
'label' => $s,
|
||||||
'title' => $cat['description'],
|
'title' => $cat['description'],
|
||||||
);
|
);
|
||||||
|
// For multi-select, send data too
|
||||||
|
if($rows > 1)
|
||||||
|
{
|
||||||
|
$options[$cat['id']]['data'] = $cat['data'];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// preserv unavailible cats (eg. private user-cats)
|
// preserv unavailible cats (eg. private user-cats)
|
||||||
/* TODO
|
/* TODO
|
||||||
|
@ -54,7 +54,7 @@ class etemplate_widget_projectmanager extends etemplate_widget_transformer
|
|||||||
$extension,
|
$extension,
|
||||||
$template
|
$template
|
||||||
);
|
);
|
||||||
self::$request->sel_options[$form_name] += $cell['sel_options'];
|
self::$request->sel_options[$form_name] += (array)$cell['sel_options'];
|
||||||
|
|
||||||
// if no_lang was modified, forward modification to the client
|
// if no_lang was modified, forward modification to the client
|
||||||
if ($cell['no_lang'] != $this->attr['no_lang'])
|
if ($cell['no_lang'] != $this->attr['no_lang'])
|
||||||
|
@ -131,7 +131,7 @@ abstract class etemplate_widget_transformer extends etemplate_widget
|
|||||||
case 'sel_options':
|
case 'sel_options':
|
||||||
self::$request->sel_options[$form_name] = $val;
|
self::$request->sel_options[$form_name] = $val;
|
||||||
break;
|
break;
|
||||||
case 'type': // not an attribute in etempalte2
|
case 'type': // not an attribute in etemplate2
|
||||||
default:
|
default:
|
||||||
self::setElementAttribute($form_name, $attr, $val);
|
self::setElementAttribute($form_name, $attr, $val);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user