diff options
author | Ananya Sen | 2012-04-09 13:11:40 -0700 |
---|---|---|
committer | Ananya Sen | 2012-04-09 13:11:40 -0700 |
commit | dece82791f43b5e8d278aba89cf8d6119af1478f (patch) | |
tree | bc15d90a380527071d77a2c8a5598a2e245b486c /js/components | |
parent | 22ade57a30b45774882028eef4ab5a5bffe1a624 (diff) | |
download | ninja-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-x | js/components/layout/document-bar.reel/document-bar.js | 2 |
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 | ||