From 16d859a284805cd8bf14187fd421b6a14e6d8912 Mon Sep 17 00:00:00 2001 From: Valerio Virgillito Date: Tue, 12 Jun 2012 15:12:27 -0700 Subject: remove serializable from custom section Signed-off-by: Valerio Virgillito --- js/ninja.reel/ninja.js | 3 +-- js/panels/Splitter.js | 3 +-- js/panels/properties.reel/section.reel/section.js | 10 ++++------ 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/js/ninja.reel/ninja.js b/js/ninja.reel/ninja.js index 8b874a36..c7bdfc0e 100755 --- a/js/ninja.reel/ninja.js +++ b/js/ninja.reel/ninja.js @@ -452,8 +452,7 @@ exports.Ninja = Montage.create(Component, { openDocument: { value: function(doc) { this.documentList.content.push(doc); - // This is not needed with the latest 0.10 montage. - // TODO: Remove this when integrating the next montage + // TODO: Check why this is still needed this.documentList.selectedObjects = [doc]; } diff --git a/js/panels/Splitter.js b/js/panels/Splitter.js index 15865acc..c6d46911 100755 --- a/js/panels/Splitter.js +++ b/js/panels/Splitter.js @@ -27,8 +27,7 @@ exports.Splitter = Montage.create(Component, { }, set: function(value) { this._panel = value; - }, - serializable: true + } }, _resizeBar: { diff --git a/js/panels/properties.reel/section.reel/section.js b/js/panels/properties.reel/section.reel/section.js index 1873eb8c..310bc48f 100755 --- a/js/panels/properties.reel/section.reel/section.js +++ b/js/panels/properties.reel/section.reel/section.js @@ -10,18 +10,16 @@ var Component = require("montage/ui/component").Component; exports.Section = Montage.create(Component, { name: { - value: "Panel", - serializable: true + value: "Panel" + }, slot: { - value: null, - serializable: true + value: null }, content: { - value: null, - serializable: true + value: null }, prepareForDraw: { -- cgit v1.2.3