aboutsummaryrefslogtreecommitdiff
path: root/js/stage
diff options
context:
space:
mode:
authorAnanya Sen2012-02-10 11:04:42 -0800
committerAnanya Sen2012-02-10 11:04:42 -0800
commit8c40940f030adb74f534c3c5ad8d845e41f09b30 (patch)
tree477ee2ae9ff0c81f269da4b34e03f2983f1edae1 /js/stage
parent1cd0642cd26f8ae5afadea4918110bdd9f7e89b3 (diff)
downloadninja-8c40940f030adb74f534c3c5ad8d845e41f09b30.tar.gz
hide iframeContainer if we want to open code view as the first document after ninja launches
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'js/stage')
-rwxr-xr-xjs/stage/stage-view.reel/stage-view.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/stage/stage-view.reel/stage-view.js b/js/stage/stage-view.reel/stage-view.js
index 1e85b4fd..31ace49c 100755
--- a/js/stage/stage-view.reel/stage-view.js
+++ b/js/stage/stage-view.reel/stage-view.js
@@ -113,6 +113,8 @@ exports.StageView = Montage.create(Component, {
113 this.application.ninja.stage._scrollFlag = false; // TODO HACK to prevent type error on Hide/Show Iframe 113 this.application.ninja.stage._scrollFlag = false; // TODO HACK to prevent type error on Hide/Show Iframe
114 this.application.ninja.documentController.activeDocument = doc; 114 this.application.ninja.documentController.activeDocument = doc;
115 this.application.ninja.stage.hideCanvas(true); 115 this.application.ninja.stage.hideCanvas(true);
116
117 document.getElementById("iframeContainer").style.display="none";//hide the iframe when switching to code view
116 } 118 }
117 }, 119 },
118 120