Merge branch 'MDL-38634' of git://github.com/rlorenzo/moodle

This commit is contained in:
Dan Poltawski
2013-04-08 11:55:55 +08:00
+1 -1
View File
@@ -37,7 +37,7 @@ M.mod_folder.init_tree = function(Y, id, expand_all) {
tree.expandAll();
} else {
// Else just expand the top node.
tree.getNodeByIndex(1).expand();
tree.getRoot().children[0].expand();
}
tree.render();