diff options
Diffstat (limited to 'js/components/treeview/ninja-leaf.reel/ninja-leaf.js')
-rw-r--r-- | js/components/treeview/ninja-leaf.reel/ninja-leaf.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/js/components/treeview/ninja-leaf.reel/ninja-leaf.js b/js/components/treeview/ninja-leaf.reel/ninja-leaf.js index 1bfe66a4..652d3bc0 100644 --- a/js/components/treeview/ninja-leaf.reel/ninja-leaf.js +++ b/js/components/treeview/ninja-leaf.reel/ninja-leaf.js | |||
@@ -8,9 +8,12 @@ var Montage = require("montage/core/core").Montage, | |||
8 | TreeNode = require("js/components/treeview/tree-node").TreeNode; | 8 | TreeNode = require("js/components/treeview/tree-node").TreeNode; |
9 | 9 | ||
10 | exports.Leaf = Montage.create(TreeNode, { | 10 | exports.Leaf = Montage.create(TreeNode, { |
11 | hasTemplate: { | 11 | |
12 | value: true | 12 | label: { |
13 | value: null, | ||
14 | serializable: true | ||
13 | }, | 15 | }, |
16 | |||
14 | templateDidLoad : { | 17 | templateDidLoad : { |
15 | value: function() { | 18 | value: function() { |
16 | var event = this.treeView.activationEvent; | 19 | var event = this.treeView.activationEvent; |