|
@@ -279,6 +279,9 @@ var EditorViewModel = (function() {
|
|
|
|
|
|
|
|
// Ace stuff
|
|
// Ace stuff
|
|
|
self.ace = ko.observable(null);
|
|
self.ace = ko.observable(null);
|
|
|
|
|
+ self.ace.subscribe(function () {
|
|
|
|
|
+ self.ace().focus();
|
|
|
|
|
+ });
|
|
|
self.errors = ko.observableArray([]);
|
|
self.errors = ko.observableArray([]);
|
|
|
|
|
|
|
|
self.aceErrorsHolder = ko.observableArray([]);
|
|
self.aceErrorsHolder = ko.observableArray([]);
|