[editor] Focus on the SQL editor when opening Hue
@@ -279,6 +279,9 @@ var EditorViewModel = (function() {
// Ace stuff
self.ace = ko.observable(null);
+ self.ace.subscribe(function () {
+ self.ace().focus();
+ });
self.errors = ko.observableArray([]);
self.aceErrorsHolder = ko.observableArray([]);
