aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorValerio Virgillito2012-06-12 15:12:27 -0700
committerValerio Virgillito2012-06-12 15:12:27 -0700
commit16d859a284805cd8bf14187fd421b6a14e6d8912 (patch)
tree64a57f852efea485f7bb242025a770588b157603 /js
parentc3c0b8d60a59a86fbe75dcc8bde0bd3cbf28de63 (diff)
downloadninja-16d859a284805cd8bf14187fd421b6a14e6d8912.tar.gz
remove serializable from custom section
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js')
-rwxr-xr-xjs/ninja.reel/ninja.js3
-rwxr-xr-xjs/panels/Splitter.js3
-rwxr-xr-xjs/panels/properties.reel/section.reel/section.js10
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, {
452 openDocument: { 452 openDocument: {
453 value: function(doc) { 453 value: function(doc) {
454 this.documentList.content.push(doc); 454 this.documentList.content.push(doc);
455 // This is not needed with the latest 0.10 montage. 455 // TODO: Check why this is still needed
456 // TODO: Remove this when integrating the next montage
457 this.documentList.selectedObjects = [doc]; 456 this.documentList.selectedObjects = [doc];
458 457
459 } 458 }
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, {
27 }, 27 },
28 set: function(value) { 28 set: function(value) {
29 this._panel = value; 29 this._panel = value;
30 }, 30 }
31 serializable: true
32 }, 31 },
33 32
34 _resizeBar: { 33 _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;
10exports.Section = Montage.create(Component, { 10exports.Section = Montage.create(Component, {
11 11
12 name: { 12 name: {
13 value: "Panel", 13 value: "Panel"
14 serializable: true 14
15 }, 15 },
16 16
17 slot: { 17 slot: {
18 value: null, 18 value: null
19 serializable: true
20 }, 19 },
21 20
22 content: { 21 content: {
23 value: null, 22 value: null
24 serializable: true
25 }, 23 },
26 24
27 prepareForDraw: { 25 prepareForDraw: {