Set jsenv in flat folder listing mode (#3056)
This commit is contained in:
parent
7a85b2590e
commit
6b6f0cef3b
1 changed files with 5 additions and 1 deletions
|
@ -124,9 +124,13 @@ class kolab_notes_ui
|
||||||
else {
|
else {
|
||||||
$html = '';
|
$html = '';
|
||||||
foreach ($lists as $prop) {
|
foreach ($lists as $prop) {
|
||||||
unset($prop['user_id']);
|
|
||||||
$id = $prop['id'];
|
$id = $prop['id'];
|
||||||
|
|
||||||
|
if (!$prop['virtual']) {
|
||||||
|
unset($prop['user_id']);
|
||||||
|
$jsenv[$id] = $prop;
|
||||||
|
}
|
||||||
|
|
||||||
if ($attrib['type'] == 'select') {
|
if ($attrib['type'] == 'select') {
|
||||||
if ($prop['editable']) {
|
if ($prop['editable']) {
|
||||||
$select->add($prop['name'], $prop['id']);
|
$select->add($prop['name'], $prop['id']);
|
||||||
|
|
Loading…
Add table
Reference in a new issue