projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc8e902
)
examples/tree/two-trees.js
author
Alan Knowles
<alan@roojs.com>
Tue, 10 Jul 2012 10:02:22 +0000
(18:02 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 10 Jul 2012 10:02:22 +0000
(18:02 +0800)
examples/tree/two-trees.js
patch
|
blob
|
history
diff --git
a/examples/tree/two-trees.js
b/examples/tree/two-trees.js
index
ba453b1
..
1d7c54a
100644
(file)
--- a/
examples/tree/two-trees.js
+++ b/
examples/tree/two-trees.js
@@
-13,6
+13,8
@@
var TreeTest = function(){
// shorthand
var Tree = Roo.tree;
+
+
return {
init : function(){
// yui-ext tree
@@
-25,6
+27,8
@@
var TreeTest = function(){
dragConfig : { scrollContainer : true }
});
+ TreeTest.tree = tree;
+
// add a tree sorter in folder mode
new Tree.TreeSorter(tree, {folderSort:true});