U4-1242 Template editor sometimes stops editing.
This commit is contained in:
@@ -36,7 +36,9 @@ Umbraco.Sys.registerNamespace("Umbraco.Controls.CodeEditor");
|
||||
}
|
||||
else {
|
||||
//this is a wrapper for CodeMirror
|
||||
this._editor.focus();
|
||||
this._editor.setValue(code);
|
||||
this._editor.focus();
|
||||
}
|
||||
},
|
||||
GetSelection: function(code) {
|
||||
@@ -150,4 +152,3 @@ Umbraco.Sys.registerNamespace("Umbraco.Controls.CodeEditor");
|
||||
return obj;
|
||||
};
|
||||
})(jQuery);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user