diff options
author | Ananya Sen | 2012-06-05 16:27:46 -0700 |
---|---|---|
committer | Ananya Sen | 2012-06-05 16:27:46 -0700 |
commit | 5d1fd1fc1da434cd56ac8f366eb17b692c786497 (patch) | |
tree | f85e73901353dbad82b7c2f7d81e39a014d1c925 /js/stage | |
parent | 71ee2afc745277a8459c0c82d0829f1302956122 (diff) | |
download | ninja-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-x | js/stage/stage.reel/stage.js | 2 |
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) { |