aboutsummaryrefslogtreecommitdiff
path: root/js/controllers
diff options
context:
space:
mode:
authorAnanya Sen2012-02-20 12:04:57 -0800
committerAnanya Sen2012-02-20 12:04:57 -0800
commit50e555587d3a97dbfc75c33f3589cfccee392180 (patch)
tree5b7c9329c13e457b5aa4f10c24b105e5cb75816a /js/controllers
parent8fdce771bfcf662cf1acc16d45e4361ffd06c53e (diff)
downloadninja-50e555587d3a97dbfc75c33f3589cfccee392180.tar.gz
- moved tools specific keyboard controls for desing view only
- stopped snapping when all documents are closed Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'js/controllers')
-rwxr-xr-xjs/controllers/document-controller.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/controllers/document-controller.js b/js/controllers/document-controller.js
index 57289448..f8507086 100755
--- a/js/controllers/document-controller.js
+++ b/js/controllers/document-controller.js
@@ -303,6 +303,8 @@ var DocumentController = exports.DocumentController = Montage.create(Component,
303 this._removeDocumentView(doc.container); 303 this._removeDocumentView(doc.container);
304 this.application.ninja.stage.stageView.hideRulers(); 304 this.application.ninja.stage.stageView.hideRulers();
305 document.getElementById("iframeContainer").style.display="block"; 305 document.getElementById("iframeContainer").style.display="block";
306
307 this.application.ninja.stage.hideCanvas(true);
306 } 308 }
307 } 309 }
308 }, 310 },