diff options
author | Valerio Virgillito | 2012-05-22 15:41:51 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-05-22 15:41:51 -0700 |
commit | 2b207ef8b2594927f8cd6cd63a8483d205cb86c4 (patch) | |
tree | 8f19bb9b41e6fdc5d3ae9e00db8d0442a872c3df /js/controllers | |
parent | 3493df6f1b1eaa20bb4f391e19c19bb7f3c872a0 (diff) | |
download | ninja-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-x | js/controllers/document-controller.js | 2 |
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 | ||