From 0e1a276f19ea70009c5a649e9667861d7c346a7e Mon Sep 17 00:00:00 2001 From: Valerio Virgillito Date: Wed, 6 Jun 2012 00:25:27 -0700 Subject: first iteration of adding serializable to ninja plus other changes to run the latest montage Signed-off-by: Valerio Virgillito --- js/panels/presets/content.reel/content.js | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'js/panels/presets') 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, { contentPanel : { value: null }, + activeTabIndex: { + value: null, + serializable: true + }, templateDidLoad : { value: function() { var storedTabIndex = this.application.localStorage.getItem("presetsTabIndex"); @@ -55,7 +59,16 @@ exports.content = Montage.create(Component, { this._activeTab = tabObject; this.needsDraw = this._needsTabSwitch = true; - } + }, + serializable: true + }, + tabBar: { + value: null, + serializable: true + }, + tabs:{ + value: null, + serializable: true }, _tabToDeactivate : { value: null, -- cgit v1.2.3