From dc503d002be8fe5f12fd3cc6f848b3190c219659 Mon Sep 17 00:00:00 2001 From: Valerio Virgillito Date: Mon, 11 Jun 2012 23:22:20 -0700 Subject: removing serializable to the tree and adding a few more missing properties Signed-off-by: Valerio Virgillito --- js/components/treeview/treeview.reel/treeview.js | 52 ++++++++++++------------ 1 file changed, 26 insertions(+), 26 deletions(-) (limited to 'js/components/treeview/treeview.reel') 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, { rootBranch : { value : null }, activationEvent: { - value: null, - serializable: true + value: null +// serializable: true }, _hasBeenDeserialized: { - value: false, - enumerable: false + value: false +// enumerable: false }, branchComponent : { - value: null, - serializable: true + value: null +// serializable: true }, leafComponent : { - value: null, - serializable: true + value: null +// serializable: true }, defaultBranchComponent: { - value: null, - serializable: true + value: null +// serializable: true }, defaultLeafComponent: { - value: null, - serializable: true + value: null +// serializable: true }, scrollview: { - value: null, - serializable: true + value: null +// serializable: true }, slot: { - value: null, - serializable: true + value: null +// serializable: true }, hasTemplate: { @@ -77,18 +77,18 @@ exports.Treeview = Montage.create(Component, { rootBranch.hideLabel = !this.showRoot; rootBranch.treeView = this; -// this.slot.content = rootBranch; -// rootBranch.sourceObject = this.contentController.root; -// rootBranch.needsDraw = true; -// this.rootBranch = rootBranch; -// -// this.needsDraw = true; + this.slot.content = rootBranch; + rootBranch.sourceObject = this.contentController.root; + rootBranch.needsDraw = true; + this.rootBranch = rootBranch; + + this.needsDraw = true; } }, showRoot : { - value: null, - serializable: true + value: null +// serializable: true }, _contentController: { @@ -135,8 +135,8 @@ exports.Treeview = Montage.create(Component, { } } - }, - serializable: true + } +// serializable: true }, deserializedFromTemplate: { -- cgit v1.2.3