aboutsummaryrefslogtreecommitdiff
path: root/js/panels/presets
diff options
context:
space:
mode:
authorValerio Virgillito2012-06-06 00:25:27 -0700
committerValerio Virgillito2012-06-06 00:25:27 -0700
commit0e1a276f19ea70009c5a649e9667861d7c346a7e (patch)
tree6db7675bbe89746ba47002bba306da42a7261312 /js/panels/presets
parentf7e4257745ccd44b8d24555f0ef787429d6e472c (diff)
downloadninja-0e1a276f19ea70009c5a649e9667861d7c346a7e.tar.gz
first iteration of adding serializable to ninja plus other changes to run the latest montage
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/panels/presets')
-rw-r--r--js/panels/presets/content.reel/content.js15
1 files changed, 14 insertions, 1 deletions
diff --git a/js/panels/presets/content.reel/content.js b/js/panels/presets/content.reel/content.js
index 1ede7246..eba150c3 100644
--- a/js/panels/presets/content.reel/content.js
+++ b/js/panels/presets/content.reel/content.js
@@ -14,6 +14,10 @@ exports.content = Montage.create(Component, {
14 contentPanel : { 14 contentPanel : {
15 value: null 15 value: null
16 }, 16 },
17 activeTabIndex: {
18 value: null,
19 serializable: true
20 },
17 templateDidLoad : { 21 templateDidLoad : {
18 value: function() { 22 value: function() {
19 var storedTabIndex = this.application.localStorage.getItem("presetsTabIndex"); 23 var storedTabIndex = this.application.localStorage.getItem("presetsTabIndex");
@@ -55,7 +59,16 @@ exports.content = Montage.create(Component, {
55 this._activeTab = tabObject; 59 this._activeTab = tabObject;
56 60
57 this.needsDraw = this._needsTabSwitch = true; 61 this.needsDraw = this._needsTabSwitch = true;
58 } 62 },
63 serializable: true
64 },
65 tabBar: {
66 value: null,
67 serializable: true
68 },
69 tabs:{
70 value: null,
71 serializable: true
59 }, 72 },
60 _tabToDeactivate : { 73 _tabToDeactivate : {
61 value: null, 74 value: null,