aboutsummaryrefslogtreecommitdiff
path: root/js/stage
diff options
context:
space:
mode:
authorAnanya Sen2012-06-05 16:27:46 -0700
committerAnanya Sen2012-06-05 16:27:46 -0700
commit5d1fd1fc1da434cd56ac8f366eb17b692c786497 (patch)
treef85e73901353dbad82b7c2f7d81e39a014d1c925 /js/stage
parent71ee2afc745277a8459c0c82d0829f1302956122 (diff)
downloadninja-5d1fd1fc1da434cd56ac8f366eb17b692c786497.tar.gz
IKNINJA-1662 - fixed js error while resizing brewing in code view
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'js/stage')
-rwxr-xr-xjs/stage/stage.reel/stage.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/stage/stage.reel/stage.js b/js/stage/stage.reel/stage.js
index d8f7313b..d7331e0d 100755
--- a/js/stage/stage.reel/stage.js
+++ b/js/stage/stage.reel/stage.js
@@ -240,7 +240,7 @@ exports.Stage = Montage.create(Component, {
240 240
241 // Hack for now until a full component 241 // Hack for now until a full component
242 this.layout.draw(); 242 this.layout.draw();
243 if(this.currentDocument) { 243 if(this.currentDocument && (this.currentDocument.currentView === "design")) {
244 this.layout.draw3DInfo(true); 244 this.layout.draw3DInfo(true);
245 } 245 }
246 } else if(this.updatedStage) { 246 } else if(this.updatedStage) {