aboutsummaryrefslogtreecommitdiff
path: root/js/panels/presets/content.reel/content.js
diff options
context:
space:
mode:
authorJon Reid2012-02-27 12:08:17 -0800
committerJon Reid2012-02-27 12:08:17 -0800
commitd55224f36da55e26c266a02efa6e58d4ecf1253e (patch)
tree36faa8ff93c0f7b925f5c0a7fb85b5d209da1f8e /js/panels/presets/content.reel/content.js
parentec5f81c6c0ccf865505ab82ebf9240c667f05c91 (diff)
parentcf9e9b711ba3d77a2a0888f8ab763383f53a1619 (diff)
downloadninja-d55224f36da55e26c266a02efa6e58d4ecf1253e.tar.gz
Merge remote-tracking branch 'ninja-jduran/Timeline' into Timeline-local
Diffstat (limited to 'js/panels/presets/content.reel/content.js')
-rw-r--r--js/panels/presets/content.reel/content.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/panels/presets/content.reel/content.js b/js/panels/presets/content.reel/content.js
index c43c593c..1ede7246 100644
--- a/js/panels/presets/content.reel/content.js
+++ b/js/panels/presets/content.reel/content.js
@@ -16,7 +16,7 @@ exports.content = Montage.create(Component, {
16 }, 16 },
17 templateDidLoad : { 17 templateDidLoad : {
18 value: function() { 18 value: function() {
19 var storedTabIndex = window.localStorage.presetsTabIndex; 19 var storedTabIndex = this.application.localStorage.getItem("presetsTabIndex");
20 if(storedTabIndex) { 20 if(storedTabIndex) {
21 this.activeTabIndex = storedTabIndex; 21 this.activeTabIndex = storedTabIndex;
22 } 22 }
@@ -50,7 +50,7 @@ exports.content = Montage.create(Component, {
50 }, 50 },
51 set: function(tabObject) { 51 set: function(tabObject) {
52 this.contentPanel = tabObject.key; 52 this.contentPanel = tabObject.key;
53 window.localStorage.presetsTabIndex = this.tabs.indexOf(tabObject); 53 this.application.localStorage.setItem("presetsTabIndex", this.tabs.indexOf(tabObject));
54 this._tabToDeactivate = this._activeTab; 54 this._tabToDeactivate = this._activeTab;
55 this._activeTab = tabObject; 55 this._activeTab = tabObject;
56 56