aboutsummaryrefslogtreecommitdiff
path: root/js/components/treeview/treeview.reel
diff options
context:
space:
mode:
authorValerio Virgillito2012-06-11 23:22:20 -0700
committerValerio Virgillito2012-06-11 23:22:20 -0700
commitdc503d002be8fe5f12fd3cc6f848b3190c219659 (patch)
tree7ea89b7e88159d929de98323a1496e2e123f5725 /js/components/treeview/treeview.reel
parentb6c88f548c8d3756738e534418732710af733f03 (diff)
downloadninja-dc503d002be8fe5f12fd3cc6f848b3190c219659.tar.gz
removing serializable to the tree and adding a few more missing properties
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/components/treeview/treeview.reel')
-rw-r--r--js/components/treeview/treeview.reel/treeview.js52
1 files changed, 26 insertions, 26 deletions
diff --git a/js/components/treeview/treeview.reel/treeview.js b/js/components/treeview/treeview.reel/treeview.js
index 03e28c93..81dacbca 100644
--- a/js/components/treeview/treeview.reel/treeview.js
+++ b/js/components/treeview/treeview.reel/treeview.js
@@ -14,42 +14,42 @@ exports.Treeview = Montage.create(Component, {
14 rootBranch : { value : null }, 14 rootBranch : { value : null },
15 15
16 activationEvent: { 16 activationEvent: {
17 value: null, 17 value: null
18 serializable: true 18// serializable: true
19 }, 19 },
20 20
21 _hasBeenDeserialized: { 21 _hasBeenDeserialized: {
22 value: false, 22 value: false
23 enumerable: false 23// enumerable: false
24 }, 24 },
25 25
26 branchComponent : { 26 branchComponent : {
27 value: null, 27 value: null
28 serializable: true 28// serializable: true
29 }, 29 },
30 leafComponent : { 30 leafComponent : {
31 value: null, 31 value: null
32 serializable: true 32// serializable: true
33 }, 33 },
34 34
35 defaultBranchComponent: { 35 defaultBranchComponent: {
36 value: null, 36 value: null
37 serializable: true 37// serializable: true
38 }, 38 },
39 39
40 defaultLeafComponent: { 40 defaultLeafComponent: {
41 value: null, 41 value: null
42 serializable: true 42// serializable: true
43 }, 43 },
44 44
45 scrollview: { 45 scrollview: {
46 value: null, 46 value: null
47 serializable: true 47// serializable: true
48 }, 48 },
49 49
50 slot: { 50 slot: {
51 value: null, 51 value: null
52 serializable: true 52// serializable: true
53 }, 53 },
54 54
55 hasTemplate: { 55 hasTemplate: {
@@ -77,18 +77,18 @@ exports.Treeview = Montage.create(Component, {
77 rootBranch.hideLabel = !this.showRoot; 77 rootBranch.hideLabel = !this.showRoot;
78 rootBranch.treeView = this; 78 rootBranch.treeView = this;
79 79
80// this.slot.content = rootBranch; 80 this.slot.content = rootBranch;
81// rootBranch.sourceObject = this.contentController.root; 81 rootBranch.sourceObject = this.contentController.root;
82// rootBranch.needsDraw = true; 82 rootBranch.needsDraw = true;
83// this.rootBranch = rootBranch; 83 this.rootBranch = rootBranch;
84// 84
85// this.needsDraw = true; 85 this.needsDraw = true;
86 86
87 } 87 }
88 }, 88 },
89 showRoot : { 89 showRoot : {
90 value: null, 90 value: null
91 serializable: true 91// serializable: true
92 }, 92 },
93 93
94 _contentController: { 94 _contentController: {
@@ -135,8 +135,8 @@ exports.Treeview = Montage.create(Component, {
135 } 135 }
136 } 136 }
137 137
138 }, 138 }
139 serializable: true 139// serializable: true
140 }, 140 },
141 141
142 deserializedFromTemplate: { 142 deserializedFromTemplate: {