From dece82791f43b5e8d278aba89cf8d6119af1478f Mon Sep 17 00:00:00 2001 From: Ananya Sen Date: Mon, 9 Apr 2012 13:11:40 -0700 Subject: - Decouple code editor from stage document switching logic - cleaning up Signed-off-by: Ananya Sen --- js/components/layout/document-bar.reel/document-bar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/components/layout') 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, { if(event._event.target.id === this.currentView) return; this.currentView = event._event.target.id; - this.application.ninja.documentController.stage.stageView.switchViews(event._event.target.id);//switch between design view + this.application.ninja.documentController.stage.stageView.switchDesignDocViews(event._event.target.id);//switch between design view } }, -- cgit v1.2.3 From e46d154b7821741618bf999c9216761ea36ad003 Mon Sep 17 00:00:00 2001 From: Valerio Virgillito Date: Mon, 30 Apr 2012 14:57:36 -0700 Subject: converting the layout folder to use data-montage-id Signed-off-by: Valerio Virgillito --- .../layout/bread-crumb.reel/bread-crumb.html | 8 ++--- .../layout/document-bar.reel/document-bar.html | 10 +++--- .../layout/document-entry.reel/document-entry.html | 4 +-- .../layout/documents-tab.reel/documents-tab.html | 6 ++-- .../layout/stage-mode.reel/stage-mode.html | 4 +-- .../layout/subtool-button.reel/subtool-button.css | 4 +-- .../layout/subtool-button.reel/subtool-button.html | 2 +- .../layout/tool-button.reel/tool-button.css | 4 +-- .../layout/tool-button.reel/tool-button.html | 2 +- .../layout/tools-list.reel/tools-list.html | 10 +++--- .../tools-properties.reel/tools-properties.html | 36 +++++++++++----------- 11 files changed, 44 insertions(+), 46 deletions(-) (limited to 'js/components/layout') diff --git a/js/components/layout/bread-crumb.reel/bread-crumb.html b/js/components/layout/bread-crumb.reel/bread-crumb.html index 7e14157e..ae3e2022 100755 --- a/js/components/layout/bread-crumb.reel/bread-crumb.html +++ b/js/components/layout/bread-crumb.reel/bread-crumb.html @@ -78,11 +78,11 @@ -