diff options
author | hwc487 | 2012-05-31 17:11:08 -0700 |
---|---|---|
committer | hwc487 | 2012-05-31 17:11:08 -0700 |
commit | 1c445cf5d905f79937998cf2f1115594ea8c1074 (patch) | |
tree | 35271ad7ffec86fde9102af3dd954fa3a2974582 /js/components/treeview/treeview.reel | |
parent | 335ce503996e3ccbd2909086328d0a31fbd03370 (diff) | |
parent | 6042bdc5f2aada4412912fd01602d32c9088dc26 (diff) | |
download | ninja-1c445cf5d905f79937998cf2f1115594ea8c1074.tar.gz |
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal into Textures
Conflicts:
js/io/system/ninjalibrary.json
Diffstat (limited to 'js/components/treeview/treeview.reel')
-rw-r--r-- | js/components/treeview/treeview.reel/treeview.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/js/components/treeview/treeview.reel/treeview.js b/js/components/treeview/treeview.reel/treeview.js index ebbfe685..9f78d36d 100644 --- a/js/components/treeview/treeview.reel/treeview.js +++ b/js/components/treeview/treeview.reel/treeview.js | |||
@@ -11,6 +11,7 @@ exports.Treeview = Montage.create(Component, { | |||
11 | 11 | ||
12 | substitution : { value : null }, | 12 | substitution : { value : null }, |
13 | data : { value : null }, | 13 | data : { value : null }, |
14 | rootBranch : { value : null }, | ||
14 | 15 | ||
15 | _hasBeenDeserialized: { | 16 | _hasBeenDeserialized: { |
16 | value: false, | 17 | value: false, |
@@ -54,6 +55,8 @@ exports.Treeview = Montage.create(Component, { | |||
54 | this.slot.content = rootBranch; | 55 | this.slot.content = rootBranch; |
55 | rootBranch.sourceObject = this.contentController.root; | 56 | rootBranch.sourceObject = this.contentController.root; |
56 | rootBranch.needsDraw = true; | 57 | rootBranch.needsDraw = true; |
58 | this.rootBranch = rootBranch; | ||
59 | |||
57 | this.needsDraw = true; | 60 | this.needsDraw = true; |
58 | 61 | ||
59 | } | 62 | } |
@@ -85,6 +88,8 @@ exports.Treeview = Montage.create(Component, { | |||
85 | 88 | ||
86 | if (this._contentController) { | 89 | if (this._contentController) { |
87 | 90 | ||
91 | //this._initializeRootBranch(); | ||
92 | |||
88 | // And bind what we need from the new contentController | 93 | // And bind what we need from the new contentController |
89 | var selectedIndexesBindingDescriptor; | 94 | var selectedIndexesBindingDescriptor; |
90 | 95 | ||