diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/controllers/code-editor-controller.js | 1 | ||||
-rwxr-xr-x | js/document/views/design.js | 5 |
2 files changed, 1 insertions, 5 deletions
diff --git a/js/controllers/code-editor-controller.js b/js/controllers/code-editor-controller.js index d0b1f179..d292f838 100644 --- a/js/controllers/code-editor-controller.js +++ b/js/controllers/code-editor-controller.js | |||
@@ -32,6 +32,7 @@ exports.CodeEditorController = Montage.create(Component, { | |||
32 | if(!value) { | 32 | if(!value) { |
33 | 33 | ||
34 | } else if(this._currentDocument.currentView === "code") { | 34 | } else if(this._currentDocument.currentView === "code") { |
35 | this._currentDocument.model.views.code.editor.focus(); | ||
35 | this.applySettings(); | 36 | this.applySettings(); |
36 | } | 37 | } |
37 | } | 38 | } |
diff --git a/js/document/views/design.js b/js/document/views/design.js index c7313708..dd8754ed 100755 --- a/js/document/views/design.js +++ b/js/document/views/design.js | |||
@@ -63,11 +63,6 @@ exports.DesignDocumentView = Montage.create(BaseDocumentView, { | |||
63 | set: function(value) {this._document = value;} | 63 | set: function(value) {this._document = value;} |
64 | }, | 64 | }, |
65 | //////////////////////////////////////////////////////////////////// | 65 | //////////////////////////////////////////////////////////////////// |
66 | // | ||
67 | propertiesPanel: { | ||
68 | value: null | ||
69 | }, | ||
70 | //////////////////////////////////////////////////////////////////// | ||
71 | // | 66 | // |
72 | _liveNodeList: { | 67 | _liveNodeList: { |
73 | value: null | 68 | value: null |