]> git.mjollnir.org Git - moodle.git/commitdiff
"MDL-13766, add path to node"
authordongsheng <dongsheng>
Wed, 10 Sep 2008 07:42:41 +0000 (07:42 +0000)
committerdongsheng <dongsheng>
Wed, 10 Sep 2008 07:42:41 +0000 (07:42 +0000)
repository/lib.php

index f71a92090c52d8454a3d51a85785f6d9c394dac2..da57f4c48309960ba5581711e7bf0c6c86e1ae06 100644 (file)
@@ -1680,6 +1680,7 @@ _client.buildtree = function(node, level){
     tmpNode.filename = node.title;
     tmpNode.value  = node.source;
     tmpNode.icon = node.thumbnail;
+    tmpNode.path = node.path;
     if(node.children){
         tmpNode.isLeaf = false;
         if (node.path) {