aboutsummaryrefslogtreecommitdiff
path: root/js/stage/stage.reel/stage.js
diff options
context:
space:
mode:
authorValerio Virgillito2012-05-31 14:49:41 -0700
committerValerio Virgillito2012-05-31 14:49:41 -0700
commit6307b0930f1a8452de954ae16e293da2f575db04 (patch)
treea9ebc64ea0dbd37c421b5932a9802d834755612b /js/stage/stage.reel/stage.js
parentfdc49789aaf892126f80cb17cca7f3d3b3b080bb (diff)
downloadninja-6307b0930f1a8452de954ae16e293da2f575db04.tar.gz
removing the last closeDocument handler
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/stage/stage.reel/stage.js')
-rwxr-xr-xjs/stage/stage.reel/stage.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/stage/stage.reel/stage.js b/js/stage/stage.reel/stage.js
index dc00eac2..4c4ba6c9 100755
--- a/js/stage/stage.reel/stage.js
+++ b/js/stage/stage.reel/stage.js
@@ -184,6 +184,8 @@ exports.Stage = Montage.create(Component, {
184 if(!value) { 184 if(!value) {
185 this.hideRulers(); 185 this.hideRulers();
186 this.hideCanvas(true); 186 this.hideCanvas(true);
187 drawUtils._eltArray.length = 0;
188 drawUtils._planesArray.length = 0;
187 } else if(this._currentDocument.currentView === "design") { 189 } else if(this._currentDocument.currentView === "design") {
188 this.clearAllCanvas(); 190 this.clearAllCanvas();
189 this.initWithDocument(false); 191 this.initWithDocument(false);