forked from extern/egroupware
Put folder tree into the sidebox using new parent_node attribute
This commit is contained in:
parent
ce4805ead6
commit
b62262b566
@ -836,6 +836,14 @@ class mail_hooks
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Destination div for folder tree
|
||||||
|
$file[] = array(
|
||||||
|
'no_lang' => true,
|
||||||
|
'text'=>'<span id="tree_target"/>',
|
||||||
|
'link'=>false,
|
||||||
|
'icon' => false
|
||||||
|
);
|
||||||
|
|
||||||
// display them all
|
// display them all
|
||||||
display_sidebox($appname,$menu_title,$file);
|
display_sidebox($appname,$menu_title,$file);
|
||||||
|
|
||||||
|
@ -32,8 +32,8 @@
|
|||||||
</grid>
|
</grid>
|
||||||
</template>
|
</template>
|
||||||
<template id="mail.index" template="" lang="" group="0" version="1.9.001">
|
<template id="mail.index" template="" lang="" group="0" version="1.9.001">
|
||||||
<tree id="nm[foldertree]" onclick="changeFolder(widget.event_args[0],widget);"/>
|
<tree id="nm[foldertree]" onclick="changeFolder(widget.event_args[0],widget);" parent_node="tree_target"/>
|
||||||
<html id="msg"/>
|
<html id="msg"/>
|
||||||
<nextmatch id="nm" options="mail.index.rows"/>
|
<nextmatch id="nm" options="mail.index.rows"/>
|
||||||
</template>
|
</template>
|
||||||
</overlay>
|
</overlay>
|
||||||
|
Loading…
Reference in New Issue
Block a user