fix 11177 Code editor steals focus on load
This commit is contained in:
parent
16cfc756ce
commit
a1413a95b0
2 changed files with 2 additions and 1 deletions
|
|
@ -43,7 +43,7 @@
|
|||
this._getDoc().getElementsByTagName('head')[0].appendChild(link);
|
||||
// Highlight the initial value
|
||||
if ( this.getEditorText() != this.old_text ) {
|
||||
Lang.later(10, this, this.highlight);
|
||||
Lang.later(10, this, function () { this.highlight(true) } );
|
||||
if ( this.status ) {
|
||||
Lang.later(100, this, this._writeStatus);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue