aboutsummaryrefslogtreecommitdiff
path: root/js/components/treeview/tree-node.js
diff options
context:
space:
mode:
authorEric Guzman2012-03-12 15:28:40 -0700
committerEric Guzman2012-03-12 15:28:40 -0700
commitec862af55e5c3d564b37eac2744a1a6815f81f4d (patch)
treedf82fd7a479f366529bf39f63c7d65d32d8d2bc6 /js/components/treeview/tree-node.js
parenta43de0b808db09ed76a94bf43ca0108bedeb2e62 (diff)
downloadninja-ec862af55e5c3d564b37eac2744a1a6815f81f4d.tar.gz
Tree Node Component - Added method for handling source object set
Diffstat (limited to 'js/components/treeview/tree-node.js')
-rw-r--r--js/components/treeview/tree-node.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/components/treeview/tree-node.js b/js/components/treeview/tree-node.js
index d7b864b5..fa6e1ba4 100644
--- a/js/components/treeview/tree-node.js
+++ b/js/components/treeview/tree-node.js
@@ -52,6 +52,10 @@ exports.TreeNode = Montage.create(Component, {
52 }, this); 52 }, this);
53 } 53 }
54 this._sourceObject = object; 54 this._sourceObject = object;
55
56 if(this.handleSourceObjectSet) {
57 this.handleSourceObjectSet();
58 }
55 } 59 }
56 }, 60 },
57 childNodes : { 61 childNodes : {