aboutsummaryrefslogtreecommitdiff
path: root/js/controllers
diff options
context:
space:
mode:
authorValerio Virgillito2012-05-22 15:41:51 -0700
committerValerio Virgillito2012-05-22 15:41:51 -0700
commit2b207ef8b2594927f8cd6cd63a8483d205cb86c4 (patch)
tree8f19bb9b41e6fdc5d3ae9e00db8d0442a872c3df /js/controllers
parent3493df6f1b1eaa20bb4f391e19c19bb7f3c872a0 (diff)
downloadninja-2b207ef8b2594927f8cd6cd63a8483d205cb86c4.tar.gz
fixing the selection in multiple documents and some code cleanup
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/controllers')
-rwxr-xr-xjs/controllers/document-controller.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/controllers/document-controller.js b/js/controllers/document-controller.js
index d99fadbb..7758f346 100755
--- a/js/controllers/document-controller.js
+++ b/js/controllers/document-controller.js
@@ -500,7 +500,7 @@ var DocumentController = exports.DocumentController = Montage.create(Component,
500 if(currentDocument) { 500 if(currentDocument) {
501 if(currentDocument.currentView === "design") { 501 if(currentDocument.currentView === "design") {
502 currentDocument.serializeDocument(); 502 currentDocument.serializeDocument();
503 this.application.ninja.selectionController._selectionContainer = null; 503 this.application.ninja._currentSelectedContainer = this.application.ninja.selectionController._selectionContainer = null;
504 currentDocument.model.views.design.propertiesPanel.clear(); 504 currentDocument.model.views.design.propertiesPanel.clear();
505 } 505 }
506 506