mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
"MDL-13766, expand automaticlly"
This commit is contained in:
parent
30868c40ae
commit
80108afd0e
@ -1689,6 +1689,9 @@ _client.buildtree = function(node, level){
|
||||
tmpNode.icon = node.thumbnail;
|
||||
tmpNode.path = node.path;
|
||||
if(node.children){
|
||||
if(node.expanded){
|
||||
tmpNode.expand();
|
||||
}
|
||||
tmpNode.isLeaf = false;
|
||||
if (node.path) {
|
||||
tmpNode.path = node.path;
|
||||
|
Loading…
x
Reference in New Issue
Block a user