aboutsummaryrefslogtreecommitdiff
path: root/js/controllers
diff options
context:
space:
mode:
authorValerio Virgillito2012-05-31 00:31:22 -0700
committerValerio Virgillito2012-05-31 00:31:22 -0700
commitf51718fc39f1311a13cc6c998eb63160dc25218d (patch)
tree949a0f46a807e0522e8a5dc0f1f2c2a7893e1591 /js/controllers
parent66632a6e0de0998ff6d36abdaa8c3a546eada0f5 (diff)
downloadninja-f51718fc39f1311a13cc6c998eb63160dc25218d.tar.gz
cleanup items
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/controllers')
-rw-r--r--js/controllers/code-editor-controller.js1
1 files changed, 1 insertions, 0 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 }