aboutsummaryrefslogtreecommitdiff
path: root/js/components
diff options
context:
space:
mode:
authorAnanya Sen2012-04-09 13:11:40 -0700
committerAnanya Sen2012-04-09 13:11:40 -0700
commitdece82791f43b5e8d278aba89cf8d6119af1478f (patch)
treebc15d90a380527071d77a2c8a5598a2e245b486c /js/components
parent22ade57a30b45774882028eef4ab5a5bffe1a624 (diff)
downloadninja-dece82791f43b5e8d278aba89cf8d6119af1478f.tar.gz
- Decouple code editor from stage document switching logic
- cleaning up Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'js/components')
-rwxr-xr-xjs/components/layout/document-bar.reel/document-bar.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/components/layout/document-bar.reel/document-bar.js b/js/components/layout/document-bar.reel/document-bar.js
index 4dc39fd6..27402dff 100755
--- a/js/components/layout/document-bar.reel/document-bar.js
+++ b/js/components/layout/document-bar.reel/document-bar.js
@@ -100,7 +100,7 @@ exports.DocumentBar = Montage.create(Component, {
100 if(event._event.target.id === this.currentView) return; 100 if(event._event.target.id === this.currentView) return;
101 101
102 this.currentView = event._event.target.id; 102 this.currentView = event._event.target.id;
103 this.application.ninja.documentController.stage.stageView.switchViews(event._event.target.id);//switch between design view 103 this.application.ninja.documentController.stage.stageView.switchDesignDocViews(event._event.target.id);//switch between design view
104 } 104 }
105 }, 105 },
106 106