diff options
author | Armen Kesablyan | 2012-06-19 01:03:59 -0700 |
---|---|---|
committer | Armen Kesablyan | 2012-06-19 01:03:59 -0700 |
commit | 2e13a73e4ee980a6f73f6ff48b2a195eb209a7db (patch) | |
tree | d352f5e769eae0e1b7b76ccbeafa9b174b1a9918 /js/panels/presets | |
parent | 244e608645778746d1a3b5aa0d4c0868f7c5c272 (diff) | |
parent | c59eb371559a3061ce53223e249ca97daace5968 (diff) | |
download | ninja-2e13a73e4ee980a6f73f6ff48b2a195eb209a7db.tar.gz |
Merge branch 'refs/heads/master' into binding
Conflicts:
js/components/layout/tools-list.reel/tools-list.html
js/components/layout/tools-properties.reel/tools-properties.html
js/document/document-html.js
js/document/templates/app/main.js
js/panels/Panel.reel/Panel.js
node_modules/montage/ui/native-control.js
Signed-off-by: Armen Kesablyan <armen@motorola.com>
Diffstat (limited to 'js/panels/presets')
-rw-r--r-- | js/panels/presets/content.reel/content.js | 15 |
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, |