Set jsenv in flat folder listing mode (#3056)

This commit is contained in:
Thomas Bruederli 2014-06-23 10:45:29 +02:00
parent 7a85b2590e
commit 6b6f0cef3b

View file

@ -124,9 +124,13 @@ class kolab_notes_ui
else {
$html = '';
foreach ($lists as $prop) {
unset($prop['user_id']);
$id = $prop['id'];
if (!$prop['virtual']) {
unset($prop['user_id']);
$jsenv[$id] = $prop;
}
if ($attrib['type'] == 'select') {
if ($prop['editable']) {
$select->add($prop['name'], $prop['id']);