diff options
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 2eba556e..9ca5ea99 100755 --- a/js/controllers/document-controller.js +++ b/js/controllers/document-controller.js | |||
@@ -501,7 +501,7 @@ var DocumentController = exports.DocumentController = Montage.create(Component, | |||
501 | if(currentDocument) { | 501 | if(currentDocument) { |
502 | if(currentDocument.currentView === "design") { | 502 | if(currentDocument.currentView === "design") { |
503 | currentDocument.serializeDocument(); | 503 | currentDocument.serializeDocument(); |
504 | this.application.ninja.selectionController._selectionContainer = null; | 504 | this.application.ninja._currentSelectedContainer = this.application.ninja.selectionController._selectionContainer = null; |
505 | currentDocument.model.views.design.propertiesPanel.clear(); | 505 | currentDocument.model.views.design.propertiesPanel.clear(); |
506 | } | 506 | } |
507 | 507 | ||