aboutsummaryrefslogtreecommitdiff
path: root/js/components
diff options
context:
space:
mode:
authorAnanya Sen2012-02-08 15:36:53 -0800
committerAnanya Sen2012-02-08 15:36:53 -0800
commit36b2e540f06cef3887e7d0fea60527fee51e2a40 (patch)
treeb636cba0ad7d4efedca3fbf791b05728f8cff37d /js/components
parent729bc48212d7244539c99ca206be673eed011115 (diff)
downloadninja-36b2e540f06cef3887e7d0fea60527fee51e2a40.tar.gz
fixed undo/redo for each code view document, changed new file integration with io mediator
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 44f65804..ea5e3280 100755
--- a/js/components/layout/document-bar.reel/document-bar.js
+++ b/js/components/layout/document-bar.reel/document-bar.js
@@ -95,7 +95,7 @@ exports.DocumentBar = Montage.create(Component, {
95 if(event._event.target.id === this.currentView) return; 95 if(event._event.target.id === this.currentView) return;
96 96
97 this.currentView = event._event.target.id; 97 this.currentView = event._event.target.id;
98 this.application.ninja.documentController.switchViews(event._event.target.id);//switch between design view 98 this.application.ninja.documentController.stage.stageView.switchViews(event._event.target.id);//switch between design view
99 } 99 }
100 }, 100 },
101 101